pausePlayer()

The τ Player API


pausePlayer()

Use this verbe to pause the current playback. An exception is thrown if the player is not in the “playing” state.

Example:

await myPlayer.pausePlayer();
        Lorem ipsum ...

Tags: api player