PlayButtonParams

data class PlayButtonParams(val contentDescription: String?, val onClick: (Boolean) -> Unit) : VideoPlayerButtonParams

PlayButtonParams represents the parameters for the play / pause button in the video player.

Parameters

contentDescription

The content description for the button.

onClick

The action to be performed when the button is clicked. Boolean parameter controls the play/pause state. If true, the video is playing; if false, the video is paused.

Constructors

Link copied to clipboard
constructor(contentDescription: String?, onClick: (Boolean) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
val onClick: (Boolean) -> Unit