PlayButtonParams

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

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

Parameters

isPlaying

A boolean that represents whether the video is currently playing or paused.

contentDescription

The content description for the button.

onClick

The action to be performed when the button is clicked. Use this to toggle the play / pause state of the video.

Constructors

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

Properties

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