GetSpeechRecognitionModels class
Returns the newest models for on-device speech recognition supported by the given version of the speech recognition library, including models for speech language and voice activity detection. If the request fails or no models are returned, then built-in models or recognizeSpeech must be used instead. The method is supposed to be called after an application update, before the first on-device speech recognition, and from application settings Returns SpeechRecognitionModels
- Inheritance
-
- Object
- TdFunction
- GetSpeechRecognitionModels
- Available extensions
- Annotations
-
- @immutable
Constructors
- GetSpeechRecognitionModels({required int version})
-
const
Properties
Methods
-
copyWith(
{int? version}) → GetSpeechRecognitionModels -
Available on GetSpeechRecognitionModels, provided by the GetSpeechRecognitionModelsExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- constructor → const String