FlutterAiuiPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterAiuiPlatform
Implementers

Constructors

FlutterAiuiPlatform()
Constructs a FlutterAiuiPlatform.

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

addListener(AiuiEventListener listener) → void
添加监听器
destroyAgent() Future<void>
销毁AIUI代理
initAgent(AiuiParams params, {AiuiEventListener? listener}) Future<void>
创建AIUI代理
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseRecordAudio([IatAudioParams? params]) Future<void>
暂停录音
pauseTTS() Future<void>
暂停语音合成
removeListener() → void
删除监听器
resumeRecordAudio([IatAudioParams? params]) Future<void>
继续录音
resumeTTS([TtsParams? params]) Future<void>
继续语音合成
setParams(AiuiParams params) Future<void>
设置参数
startRecordAudio([IatAudioParams? params]) Future<void>
开始录音
startTTS(String text, [TtsParams? params]) Future<void>
语音合成
stopRecordAudio([IatAudioParams? params]) Future<void>
结束录音
stopTTS() Future<void>
停止语音合成
toString() String
A string representation of this object.
inherited
writeText(String text, [IatTextParams? params]) Future<void>
文本语义

Operators

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

Static Properties

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