SpeechToTextOptions class
Options for speech-to-text requests.
This is an experimental feature.
Constructors
- SpeechToTextOptions({String? modelId, String? speechLanguage, int? speechSampleRate, String? textLanguage, AdditionalPropertiesDictionary? additionalProperties})
- Creates a new SpeechToTextOptions.
Properties
- additionalProperties ↔ AdditionalPropertiesDictionary?
-
Additional properties.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelId ↔ String?
-
The model to use for transcription.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speechLanguage ↔ String?
-
The language of the input speech.
getter/setter pair
- speechSampleRate ↔ int?
-
The audio sampling rate in Hz.
getter/setter pair
- textLanguage ↔ String?
-
The desired output language.
getter/setter pair
Methods
-
clone(
) → SpeechToTextOptions - Creates a deep copy of this SpeechToTextOptions.
-
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