CompositeMediaControl
Continuously picks the first visible media control from the given controls
list, and delegates all calls to it. If there is no visible control, it will delegate to the last control in the list.
Can wrap MediaControl and ToggleMediaControls.
Parameters
List of controls to aggregate.
Throws
when no controls are supplied.
Note: The MediaControlPriority provided to the Factory is used for all contained media controls.
Types
MediaControlFactory implementation that is used to create CompositeMediaControl instances.
Properties
Toggle-based action type.
Whether the associated action is currently switched on.
Whether or not it is possible to launch the action right now.
Whether the control is visible. This can be used to show the control as disabled. Defaults to isAvailable.
Inherited functions
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.