MethodChannelAzureSdkVoice class
An implementation of AzureSdkVoicePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AzureSdkVoicePlatform
- MethodChannelAzureSdkVoice
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
-
init(
String key, String region) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
playRecordedAudio(
String name) → Future< String?> -
override
-
pronunciationScore(
String name, String language, String topic) → Future< String?> -
override
-
speak(
String content, Function callback) → Future< String?> -
override
-
speakStop(
) → Future< String?> -
override
-
startRecording(
String name) → Future< String?> -
override
-
startTranslateContinuous(
String recLanguage, String toLanguage, Function callback) → Future< String?> -
override
-
stopRecording(
) → Future< String?> -
override
-
stopTranslateContinuous(
) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
String name, String recLanguage, String toLanguage) → Future< String?> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerCallback(
Function callback) → void