PlayPauseMediaControl
Control to switch between paused and playing state.
Types
Creates a PlayPauseMediaControl, to allow switching between paused and playing state.
Properties
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.
The action is activated when one or more activatedAction are present in the context.
The action is available if activatedAction or activateAction are present in the context.
Whether the control is visible. This can be used to show the control as disabled. Defaults to isAvailable.
Inherited properties
Inherited functions
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.