SpeechToTextWindowsMethodChannel class
- Inheritance
-
- Object
- PlatformInterface
- SpeechToTextPlatform
- SpeechToTextWindowsMethodChannel
Methods
-
cancel()
→ Future<void>
-
Cancels the current listen for speech if active, does nothing if not.
inherited
-
getPlatformVersion()
→ Future<String?>
-
-
hasPermission()
→ Future<bool>
-
Returns true if the user has already granted permission to access the
microphone, does not prompt the user.
inherited
-
initialize({dynamic debugLogging = false, List<SpeechConfigOption>? options})
→ Future<bool>
-
Initialize speech recognition services, returns true if
successful, false if failed.
inherited
-
listen({String? localeId, dynamic partialResults = true, dynamic onDevice = false, int listenMode = 0, dynamic sampleRate = 0, SpeechListenOptions? options})
→ Future<bool>
-
Starts a listening session for speech and converts it to text.
inherited
-
locales()
→ Future<List>
-
returns the list of speech locales available on the device.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
stop()
→ Future<void>
-
Stops the current listen for speech if active, does nothing if not.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited