StreamingRecognitionConfig class Null safety

Constructors

StreamingRecognitionConfig({required RecognitionConfig config, bool singleUtterance = false, bool interimResults = false})
A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.

Properties

config RecognitionConfig
Required. Provides information to the recognizer that specifies how to process the request.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
interimResults bool
If true, interim results (tentative hypotheses) may be returned as they become available (these interim results are indicated with the is_final=false flag). If false or omitted, only is_final=true result(s) are returned.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
singleUtterance bool
If false or omitted, the recognizer will perform continuous recognition (continuing to wait for and process audio even if the user pauses speaking) until the client closes the input stream (gRPC API) or until the maximum time limit has been reached. May return multiple StreamingRecognitionResults with the is_final flag set to true. [...]
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toConfig() StreamingRecognitionConfig
toString() String
A string representation of this object. [...]
inherited

Operators

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