seek

fun seek(position: Float)

Seek to a new playback position of current track if seeking is allowed on the given file.

Only on-demand files may be seek'ed.

Parameters

position

New position (in seconds)