MethodChannelFlutterGoogleStt class
An implementation of FlutterGoogleSttPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterGoogleSttPlatform
- MethodChannelFlutterGoogleStt
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasMicrophonePermission(
) → Future< bool> -
Check if microphone permission is granted
override
-
initialize(
{required String accessToken, String languageCode = 'en-US', int sampleRateHertz = 16000}) → Future< bool> -
Initialize the speech-to-text service with Google Cloud credentials
override
-
isListening(
) → Future< bool> -
Check if currently listening
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestMicrophonePermission(
) → Future< bool> -
Request microphone permission
override
-
startListening(
) → Future< bool> -
Start listening for speech input
override
-
stopListening(
) → Future< bool> -
Stop listening for speech input
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited