StandardMediaControls
The set of standard media controls.
defaultFactory is the factory that is used by default to create these controls.
The Android Automotive media player UI only shows the SKIP_BACKWARD, TOGGLE_PLAY, SKIP_FORWARD standard controls even if the source is advertising supporting any of the others. Due to this decision, most media sources on the market advertise additional custom actions that should be standard actions, such as shuffle and repeat, to make sure they are shown in the UI. To avoid action duplication, the TTDC media UI follows the AAOSP media player UI logic instead of the API, and provides no defaultFactory for standard actions other than SKIP_BACKWARD, TOGGLE_PLAY, SKIP_FORWARD.
See MediaControlPolicy.replacedStandardControls to change the default behavior and provide MediaControlFactory for a given StandardMediaControls.
Entries
Seeks a fixed amount of seconds backwards.
Skips backward to the start of the current item, or the previous item.
Toggles between playing and paused state.
Skips forward, towards the next media item.
Seeks a fixed amount of seconds forwards.
Properties
Inherited properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.