onCustomAction

abstract fun onCustomAction(player: Player, action: String, extras: Bundle?)

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

Parameters

player

The THEOplayer instance currently attached to the connector.

action

The action that was originally sent in the PlaybackStateCompat.CustomAction.

extras