A visual control for a media-related command. It can be used anywhere the user can interact with active media.
MediaControls are always associated by a MediaControlPolicy to a specific media source.
Examples of controls:
Toggle play/pause state.
Play media ID "x".
Remove favorite state from media item "y".
The type of the control, which is used by TtButton to apply one of the predefined styles. May be overridden in subclasses in order to apply a specialized style. TtButton.ActionType.TERTIARY is used by default as the most neutral option.
Whether the control is visible. This can be used to show the control as disabled. Defaults to isAvailable.
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.