onCustomAction

abstract fun onCustomAction(player: Player, action: String, intent: Intent)

Called when a custom action has been received.

Parameters

player

The player.

action

The action from getAction.

intent

The received Intent.