RTCKTVPlayer class abstract

KTV player API class.

Constructors

RTCKTVPlayer()

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
pauseMusic(String musicId) Future<void>
Pauses the music playing.
playMusic(String musicId, {required AudioTrackType trackType, required AudioPlayType playType}) Future<void>
Plays the music.
resumeMusic(String musicId) Future<void>
Resumes playing the music.
seekMusic(String musicId, {required int position}) Future<void>
Sets the starting position of the music file.
setMusicPitch(String musicId, {required int pitch}) Future<void>
Transposes up/down the music being played.
setMusicVolume(String musicId, {required int volume}) Future<void>
Sets the volume of the playing music. The music must be playing when you set the volume.
setPlayerEventHandler(RTCKTVPlayerEventHandler? eventHandler) → void
Sets the KTV player event handler.
stopMusic(String musicId) Future<void>
Stops playing the music.
switchAudioTrackType(String musicId) Future<void>
Switches the audio track type between the original track and the instrumental track.
toString() String
A string representation of this object.
inherited

Operators

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