Custom Action Receiver
Defines and handles custom actions.
Functions
Link copied to clipboard
abstract fun createCustomActions(context: Context): Map<String, NotificationCompat.Action>
Content copied to clipboard
Gets the actions handled by this receiver.
Link copied to clipboard
Gets the actions to be included in the notification given the current player state.
Link copied to clipboard
abstract fun onCustomAction(player: Player, action: String, intent: Intent)
Content copied to clipboard
Called when a custom action has been received.