seekToPlayer()

The τ Player API


seekToPlayer()

To seek to a new location. The player must already be playing or paused. If not, an exception is thrown.

Example:

await myPlayer.seekToPlayer(Duration(milliseconds: milliSecs));
        Lorem ipsum ...

Tags: api player