---
updatedAt: 2026-06-12T07:24:29.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/playback/llms.txt
---

# CustomActionReceiver

com.bitmovin.player.api.ui.notification

# CustomActionReceiver

interface CustomActionReceiver

Defines and handles custom actions.

## Functions

| Name                | Summary                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| createCustomActions | abstract fun createCustomActions(context: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html)): [Map](https://developer.android.com/reference/kotlin/java/util/Map.html)<[String](https://developer.android.com/reference/kotlin/java/lang/String.html), [NotificationCompat.Action](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.html)><br>Gets the actions handled by this receiver. |
| getCustomActions    | abstract fun getCustomActions(player: [Player](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-player)): [List](https://developer.android.com/reference/kotlin/java/util/List.html)<[String](https://developer.android.com/reference/kotlin/java/lang/String.html)><br>Gets the actions to be included in the notification given the current player state.                                                                                                                      |
| onCustomAction      | abstract fun onCustomAction(player: [Player](https://developer.bitmovin.com/playback/docs/android-api-com-bitmovin-player-api-player), action: [String](https://developer.android.com/reference/kotlin/java/lang/String.html), intent: [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html))<br>Called when a custom action has been received.                                                                                                                                   |