toggle menu
player-android
3.99.0
androidJvm
switch theme
search in API
player-core
/
com.bitmovin.player.api.ui.notification
/
CustomActionReceiver
Custom
Action
Receiver
interface
CustomActionReceiver
Defines and handles custom actions.
Members
Functions
create
Custom
Actions
Link copied to clipboard
abstract
fun
createCustomActions
(
context
:
Context
)
:
Map
<
String
,
NotificationCompat.Action
>
Gets the actions handled by this receiver.
get
Custom
Actions
Link copied to clipboard
abstract
fun
getCustomActions
(
player
:
Player
)
:
List
<
String
>
Gets the actions to be included in the notification given the current player state.
on
Custom
Action
Link copied to clipboard
abstract
fun
onCustomAction
(
player
:
Player
,
action
:
String
,
intent
:
Intent
)
Called when a custom action has been received.