PlaybackNotificationConfig

Constructors

Link copied to clipboard
constructor(context: Context)
Create a new instance of the config.

Properties

Link copied to clipboard
Link copied to clipboard
open var channelId: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var color: Int
Link copied to clipboard
open var colorized: Boolean
Link copied to clipboard
val context: Context
Link copied to clipboard
Link copied to clipboard
open var priority: Int
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
open var visibility: Int

Functions

Link copied to clipboard
Link copied to clipboard
The id of the notification channel.
Link copied to clipboard
The importance of the channel.
Link copied to clipboard
open fun setChannelNameResourceId(channelNameResourceId: Int): PlaybackNotificationConfig
The name of the channel.
Link copied to clipboard
Sets the accent color of the notification.
Link copied to clipboard
Sets whether the notification should be colorized.
Link copied to clipboard
The id of the notification to be posted.
Link copied to clipboard
Sets the priority of the notification required for API 25 and lower.
Link copied to clipboard
fun setSmallIcon(smallIconResourceId: Int): PlaybackNotificationConfig
Sets the small icon of the notification which is also shown in the system status bar.
Link copied to clipboard
Set the types of media to show the playback notification on.
Link copied to clipboard
Sets whether the fast forward action should be used.
Link copied to clipboard
Sets whether the fast forward action should also be used in compact view.
Link copied to clipboard
Sets whether the next action should be used.
Link copied to clipboard
If useNextAction is true, sets whether the next action should also be used in compact view.
Link copied to clipboard
Sets whether the play and pause actions should be used.
Link copied to clipboard
Sets whether the previous action should be used.
Link copied to clipboard
If usePreviousAction is true, sets whether the previous action should also be used in compact view.
Link copied to clipboard
Sets whether the rewind action should be used.
Link copied to clipboard
Sets whether the rewind action should also be used in compact view.
Link copied to clipboard
Sets the visibility of the notification which determines whether and how the notification is shown when the device is in lock screen mode.