CustomActionReceiver
interface CustomActionReceiver
Defines and handles custom actions.
Functions
| Name | Summary |
|---|---|
| createCustomActions | abstract fun createCustomActions(context: Context): Map<String, NotificationCompat.Action> Gets the actions handled by this receiver. |
| getCustomActions | abstract fun getCustomActions(player: Player): List<String> Gets the actions to be included in the notification given the current player state. |
| onCustomAction | abstract fun onCustomAction(player: Player, action: String, intent: Intent) Called when a custom action has been received. |