FRivaManager class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

initSdk({required String host, LanguageSupport? languageTTS, LanguageSupport? languageSTT, int? sampleRateTTS, int? sampleRateSTT, String? voiceName}) Future
startSTT({required Speech2TextSuccessRivaCallback onSuccess, StartRivaCallback? onStart, Speech2TextProcessRivaCallback? onSpeeching, ErrorRivaCallback? onError, CompleteRivaCallback? onComplete}) → void
startTTS({required String textOrigin, StartRivaCallback? onStart, Text2SpeechInProcessCallback? onPlaying, ErrorRivaCallback? onError, CompleteRivaCallback? onComplete}) → void
stopTTS({ErrorRivaCallback? onError}) → void
translateText({required String inputText, required LanguageSupport inputLanguageCode, required LanguageSupport outputLanguageCode}) Future<String>?