AudioMusicParam class

音乐和人声设置接口参数

Constructors

AudioMusicParam({required String path, required int id, int loopCount = 0, bool publish = false, bool isShortFile = false, int startTimeMS = 0, int endTimeMS = -1})

Properties

endTimeMS int
【字段含义】音乐结束播放时间点,单位毫秒,0或者-1表示播放至文件结尾。
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
【字段含义】音乐 ID
getter/setter pair
isShortFile bool
【字段含义】播放的是否为短音乐文件
getter/setter pair
loopCount int
【字段含义】音乐循环播放的次数
getter/setter pair
path String
【字段含义】音乐文件的绝对路径
getter/setter pair
publish bool
【字段含义】是否将音乐传到远端
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTimeMS int
【字段含义】音乐开始播放时间点,单位毫秒
getter/setter pair

Methods

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

Operators

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