Action Media Control
An ActionMediaControl that cycles between multiple states.
Similar to SingleActionMediaControl, but when clicked it always launches the current action.
When launching the currentAction, the expectation is that the source will replace it with another one from the MediaControlContext.actions list in context. When the currentAction changes, both the performed action and the drawable should in principle change to reflect the new action.
For example: a media source with a "change playback speed" feature, made of two states, reflected by Actions with ID 'speed_1x' and 'speed_2x'; in the application, a MultipleActionMediaControl has those two action IDs in its actions list.
Clicking the control again will launch 'speed_2x' and the source then exposes again 'speed_1x'.
The example shows that the behavior of the specific feature from the media source must be known in advance, to correctly reflect its state in the MultipleActionMediaControl.
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.