seekTo

open suspend fun seekTo(position: Duration)

Seeks to a specific position in the current playback.


abstract suspend fun seekTo(position: Long)

Seeks to a specific position in the current playback.

Parameters

position

the position in the track in milliseconds