seekMusic abstract method
Sets the starting position of the music file.
musicId: Music ID.
position: The starting position of the music file in milliseconds. The value must be less than the total length of the music.
Notes:
- The music must be playing when you call this API.
- After calling this API, you can receive music playing status through RTCKTVPlayerEventHandler.onPlayStateChanged.
Implementation
Future<void> seekMusic(
String musicId, {
required int position,
});