Builder
class Builder(context: Context, @IntRange(from = 1) notificationId: Int, channelId: String) : PlayerNotificationManager.Builder
A builder for creating a preconfigured PlayerNotificationManager tailored for Pillarbox.
Parameters
context
The Context.
notificationId
The id of the notification to be posted. Must be greater than 0.
channelId
The id of the notification channel. This can be an existing channel or a new one to be created. If creating a new channel, ensure to call setChannelNameResourceId as well.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Links the player notification to a given MediaSession.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard