availableActions

abstract val availableActions: List<Action>

Actions provided by the activeSource for the activeMediaItem.

Empty if nothing is being played or if no actions are currently advertised as available by the source.

Each source supports different actions at different times. It is therefore not advisable to rely on any of them to be available at any specific moment.

Extension functions can be used to efficiently access actions only when they are available.

Actions have an ID which is unique per source. Predefined IDs for the standard Android-supported actions (and more) are available in StandardActionId.