CustomActionProvider

CustomActionProvider allows handling custom actions when sent by a media controller.

Functions

Link copied to clipboard

Get the custom action this provider can handle.

Link copied to clipboard
abstract fun onCustomAction(player: Player, action: String, extras: Bundle?)

Called when a media controller wants a custom action to be performed.