SpeechToTextClient class abstract
Represents a speech-to-text client.
This is an experimental feature.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
inherited
-
getService<
T> ({Object? key}) → T? - Gets a service of the specified type.
-
getStreamingText(
{required Stream< List< stream, SpeechToTextOptions? options, CancellationToken? cancellationToken}) → Stream<int> >SpeechToTextResponse> -
Transcribes the given audio
streamas a stream of updates. -
getText(
{required Stream< List< stream, SpeechToTextOptions? options, CancellationToken? cancellationToken}) → Future<int> >SpeechToTextResponse> -
Transcribes the given audio
stream. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited