SeekButtonState

State holder for a button that seeks forward or backward by a fixed offset, such as SeekButton.

Create an instance with rememberSeekButtonState.

Properties

Link copied to clipboard

Whether the button can be interacted with.

Functions

Link copied to clipboard
fun onClick()

Seeks forward (if seekOffset is positive) or backward (if negative) by seekOffset seconds, clamped to the media duration.