AzureSttPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AzureSttPlatform
Implementers

Constructors

AzureSttPlatform()
Constructs a AzureSttPlatform.

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

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

Operators

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

Static Properties

instance AzureSttPlatform
The default instance of AzureSttPlatform to use.
getter/setter pair