SingleActionMediaControl
An ActionMediaControl always resulting in one single Action which can be performed on active media.
Constructors
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
Whether the control is visible. This can be used to show the control as disabled. Defaults to isAvailable.
Link copied to clipboard
Functions
Link copied to clipboard
Retrieve the arguments that are set for the media control's action. If null
, no arguments are used.
Inherited functions
Link copied to clipboard
Creates a TtButtonViewModel representation of this MediaControl as an icon button. This implies only the drawable is included.