PlayButtonParams

constructor(contentDescription: String?, onClick: (Boolean) -> Unit)

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.