NmVoiceRecognitionService class abstract
Abstract interface for voice recognition service.
Constructors
Properties
-
audioLevelStream
→ Stream<
double> -
Stream of audio level for visualization.
no setter
-
filterTagStream
→ Stream<
List< NmFilterTag> > -
Stream of extracted filter tags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusNotifier
→ ValueNotifier<
NmRecognitionStatus> -
Current recognition status.
no setter
-
transcriptionStream
→ Stream<
String> -
Stream of transcription updates.
no setter
Methods
-
cancel(
) → Future< void> - Cancel current recognition.
-
isAvailable(
) → Future< bool> - Check if speech recognition is available.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< bool> - Request microphone permission.
-
startListening(
) → Future< void> - Start listening for voice input.
-
stopListening(
) → Future< void> - Stop listening.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited