EventChannelLivespeechtotext class
An implementation of LivespeechtotextPlatform that uses event channels.
- Inheritance
-
- Object
- PlatformInterface
- LivespeechtotextPlatform
- EventChannelLivespeechtotext
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAnyEvent ↔ EventChannel
-
event "" instance
latefinal
- onSuccessEvent ↔ EventChannel
-
event "success" instance
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEventListener(
String eventName, dynamic callback(dynamic)) → StreamSubscription -
An implementation of LivespeechtotextPlatform.addEventListener
override
-
getLocaleDisplayName(
) → Future< String?> -
Platform-specific method to get local display name
inherited
-
getSupportedLocales(
) → Future< Map< String, String> ?> -
Platform-specific method to get supported language
inherited
-
getText(
) → Future< String?> -
Platform-specific method to get recognized text
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLocale(
String languageTag) → Future -
Platform-specific method to change recognizer language
inherited
-
start(
) → Future< String?> -
Platform-specific method to start speech-to-text
inherited
-
stop(
) → Future< String?> -
Platform-specific method to stop speech-to-text
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited