AudioMusicParam class

Parameters of music and voice settings APIs

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
Field meaning: the point in time in milliseconds for ending music playback. The value 0 or -1 indicates that playback lasts until the file ends.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
Field meaning: music track ID
getter/setter pair
isShortFile bool
Field meaning: whether the music file for playback is a short music file
getter/setter pair
loopCount int
Field meaning: number of times the music file is played in a loop
getter/setter pair
path String
Field meaning: absolute path of the music file
getter/setter pair
publish bool
Field meaning: whether to send the music track to remote users.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTimeMS int
Field meaning: the point in time in milliseconds for starting music playback
getter/setter pair

Methods

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

Operators

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