AudioPlayHandler class

播放处理器*

Constructors

AudioPlayHandler()

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 Properties

soundPlayer ↔ FlutterSoundPlayer
getter/setter pair
tag String
getter/setter pair

Static Methods

getPlayQueue() Queue
init() → dynamic
初始化*
initFlutterSoundPlayer() Future<void>
isPlaying() bool
onFlutterTTSPlayFinsihed() → dynamic
onPlayFinsihed() → dynamic
订单结束播放*
onPlayInterrupted() → dynamic
onPlayStart() → dynamic
play(Uint8List? data, bool interrupt, String? text) → dynamic
播放PCM格式数据*
playNextAudio() → dynamic
playText(String text, bool interrupt) Future<void>
语音播报*
stopPlay() → dynamic
停止播放*