GoogleCloudDialogflowV2SpeechToTextConfig class

Configures speech transcription for ConversationProfile.

Constructors

GoogleCloudDialogflowV2SpeechToTextConfig.new({String? audioEncoding, bool? enableWordInfo, String? languageCode, String? model, List<String>? phraseSets, int? sampleRateHertz, String? speechModelVariant, bool? useTimeoutBasedEndpointing})
GoogleCloudDialogflowV2SpeechToTextConfig.fromJson(Map json_)

Properties

audioEncoding String?
Audio encoding of the audio content to process. Possible string values are:
getter/setter pair
enableWordInfo bool?
If true, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
languageCode String?
The language of the supplied audio.
getter/setter pair
model String?
Which Speech model to select.
getter/setter pair
phraseSets List<String>?
List of names of Cloud Speech phrase sets that are used for transcription.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRateHertz int?
Sample rate (in Hertz) of the audio content sent in the query.
getter/setter pair
speechModelVariant String?
The speech model used in speech to text.
getter/setter pair
useTimeoutBasedEndpointing bool?
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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