AudioMusicParam class

Music and vocals set interface parameters

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 time point at which the music ends playback, in milliseconds, 0 or -1 indicates that the music is played to the end of the file.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
Field Meaning: Music ID
getter/setter pair
isShortFile bool
Field Meaning: Whether the playback is a short music file
getter/setter pair
loopCount int
Field Meaning: The number of times the music looped
getter/setter pair
path String
Field Meaning: The absolute path of the music file
getter/setter pair
publish bool
Field Meaning: Whether to transmit music to the remote end
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTimeMS int
Field Meaning: The time when the music starts playing, in milliseconds
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