SpeechToText class

An interface to Google's Speech-to-Text Api via grpc.

Important! You need an own Google project to use this class.

Constructors

SpeechToText.viaServiceAccount(ServiceAccount account)
Creates a SpeechToText interface using a service account.
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
recognize(RecognitionConfig config, List<int> audio) Future<RecognizeResponse>
Sends a RecognizeRequest request to the Google Speech Api. Requires a RecognitionConfig and an RecognitionAudio. [...]
streamingRecognize(StreamingRecognitionConfig config, Stream<List<int>> audioStream) Stream<StreamingRecognizeResponse>
Sends a StreamingRecognizeRequest to the Google Speech Api. Requires a StreamingRecognitionConfig and an audioStream.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited