Optional
options: ButtonOptionsThe cast API for this cast button.
The current cast state.
Whether the button is disabled.
When disabled, the button cannot be clicked.
Static
observedProtected
Readonly
_onProtected
Readonly
_onProtected
_upgradeProtected
handleHandle a button click.
By default, this does nothing. Subclasses can override this method to add behavior to the button.
A generic button to start and stop casting.
For a concrete implementation, see ChromecastButton and AirPlayButton.