FlutterGoogleSttPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterGoogleSttPlatform
Implementers

Constructors

FlutterGoogleSttPlatform()
Constructs a FlutterGoogleSttPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasMicrophonePermission() → Future<bool>
Check if microphone permission is granted
initialize({required String accessToken, String languageCode = 'en-US', int sampleRateHertz = 16000}) → Future<bool>
Initialize the speech-to-text service with Google Cloud credentials
isListening() → Future<bool>
Check if currently listening
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestMicrophonePermission() → Future<bool>
Request microphone permission
startListening() → Future<bool>
Start listening for speech input
stopListening() → Future<bool>
Stop listening for speech input
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ FlutterGoogleSttPlatform
The default instance of FlutterGoogleSttPlatform to use.
getter/setter pair