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
The icon of the control, which is used to represent the control to the user.
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.
Link copied to clipboard
Textual description of the control.
Inherited functions
Link copied to clipboard
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.