RecognitionRequestMessage class
Constructors
-
RecognitionRequestMessage({required int requestId, String? locale, required AudioSourceKindMessage source, String? path, required TaskHintMessage taskHint, required bool shouldReportPartialResults, required List<
String> contextualStrings, required bool requiresOnDeviceRecognition, bool? addsPunctuation, required bool configureAudioSession})
Properties
- addsPunctuation ↔ bool?
-
iOS 16 / macOS 13; null keeps Apple's default.
getter/setter pair
- configureAudioSession ↔ bool
-
iOS only: activate a recording
AVAudioSessionfor the microphone.getter/setter pair -
contextualStrings
↔ List<
String> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- locale ↔ String?
-
Null for the user's current locale.
getter/setter pair
- path ↔ String?
-
getter/setter pair
- requestId ↔ int
-
getter/setter pair
- requiresOnDeviceRecognition ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldReportPartialResults ↔ bool
-
getter/setter pair
- source ↔ AudioSourceKindMessage
-
fileormicrophone.getter/setter pair - taskHint ↔ TaskHintMessage
-
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → RecognitionRequestMessage