MethodChannelAzureStt class

An implementation of AzureSttPlatform that uses method channels.

Inheritance

Constructors

MethodChannelAzureStt()

Properties

azureSttCallback AzureContinuousRecognitionCallback
getter/setter pair
continuousRecognition ContinuousRecognition
getter/setter pair
conversationTranscriber ConversationTranscriber
getter/setter pair
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

getPlatformVersion() Future<String?>
override
initAzureConfig(String subscriptionKey, String region) Future<String>
override
initAzureTranslatorConfig(String translatorKey, String translatorRegion) Future<String?>
override
initMemoryAudioStream(int samplerRate, int bitRate, int channel) Future<int?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recognizeOnceAsync(String lanRegion) Future<String>
override
setAzureContinuousRecognitionCallback(AzureContinuousRecognitionCallback azureSttCallback) → void
override
setAzureConversationTranscriberCallback(AzureConversationTranscriberCallback azureSttCallback) → void
override
setAzureSttCallback(AzureContinuousRecognitionCallback azureSttCallback) → void
startContinuousRecognition(String lanRegion, bool useMic, {int samplerRate = 16000, int bitRate = 16, int channel = 1}) Future<String>
override
startConversation(String lanRegion, bool useMic, {int samplerRate = 16000, int bitRate = 16, int channel = 1, bool autoTranslate = false, String fromLang = "", String toLang = "en"}) Future<String>
override
stopContinuousRecognition() Future<String>
override
stopConversation() Future<String>
override
toString() String
A string representation of this object.
inherited
translate(String text, String from, String to) Future<String?>
override
writeAudioBuffer(Uint8List buffer) Future<int?>
override

Operators

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