AzureSpeechRecognitionService class

Constructors

AzureSpeechRecognitionService({required TextEditingController textController, required String localeId, required String azureKey, required String azureRegion, required bool micOn})

Properties

azureKey String
no setter
azureRegion String
no setter
currentLocale String
no setter
hashCode int
The hash code for this object.
no setterinherited
intermediateResult String
no setter
isInitialized bool
no setter
isMicOn bool
no setter
micOn bool
final
onError ↔ dynamic Function(String)?
getter/setter pair
onFinalResult ↔ dynamic Function(String)?
getter/setter pair
onIntermediateResult ↔ dynamic Function(String)?
getter/setter pair
onListeningStateChanged ↔ dynamic Function(bool)?
getter/setter pair
recognizedText String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textController TextEditingController
final

Methods

checkMicrophonePermission() Future<bool>
dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetRecognizedText() → void
startListening() Future<void>
stopListening() Future<void>
toggleMic() Future<void>
toString() String
A string representation of this object.
inherited
updateLocale(String newLocale) Future<void>

Operators

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

Constants

maxInitRetries → const int
retryDelay → const Duration