A generic button to start and stop casting.
For a concrete implementation, see ChromecastButton and AirPlayButton.
Optional
The cast API for this cast button.
The current cast state.
Whether the button is disabled.
When disabled, the button cannot be clicked.
Static
Protected
Handle a button click.
By default, this does nothing. Subclasses can override this method to add behavior to the button.
Generated using TypeDoc
A generic button to start and stop casting.
For a concrete implementation, see ChromecastButton and AirPlayButton.