seekTo

fun seekTo(position: Long): Boolean

Seeks to the specified playback position in the current audio.

Return

true if the seek operation is successful; false otherwise.

Parameters

position

The target position (in milliseconds) to seek to in the audio.