ToggleMediaControl
A MediaControl with two states: activated and deactivated. These will be automatically represented to the end-user by highlighting the given drawable when isActivated is true
.
Inheritors
Properties
Inherited properties
Link copied to clipboard
Whether or not it is possible to launch the action right now.
Link copied to clipboard
Whether the control is visible. This can be used to show the control as disabled. Defaults to isAvailable.
Inherited functions
Link copied to clipboard
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.