- <init>
Creates a notification manager using the specified notification channelId and
CustomActionReceiver.
- setMediaSessionToken
Sets the MediaSessionCompat.Token.
- setNotificationListener
Sets the NotificationListener.
- setPlayer
Sets the Player.Setting the player starts a notification immediately unless the
player is in Player#
- setSmallIcon
Sets the small icon of the notification which is also shown in the system status
bar.See Notificatio
- createBroadcastIntent
- createNotification
Creates the notification given the current player state.
- createPlaybackActions
- createWithNotificationChannel
Creates a notification manager and a low-priority notification channel with the
specified channelId
- getActionIndicesForCompactView
Gets an array with the indices of the buttons to be shown in compact mode.This
method can be overrid
- invalidate
Forces an update of the notification if already started.
- setColor
Sets the accent color of the notification.See
NotificationCompat.Builder#setColor(int).