PlayButtonState

State holder for a play/pause button, such as PlayButton.

Create an instance with rememberPlayButtonState.

Properties

Link copied to clipboard

Whether playback has reached the end of the media.

Link copied to clipboard

Whether the player is paused.

Functions

Link copied to clipboard
fun onClick()

Toggles between play and pause.