ShuffleMediaControl
class ShuffleMediaControl(context: MediaControlContext) : ToggleActionMediaControl
Content copied to clipboard
Control to switch between playback shuffle modes.
Constructors
Types
Link copied to clipboard
Creates a ShuffleMediaControl, to change shuffle mode.
Properties
Inherited properties
Link copied to clipboard
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.
Link copied to clipboard
The action is activated when one or more activatedAction are present in the context.
Link copied to clipboard
The action is available if activatedAction or activateAction are present in the context.
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.