PlayerNotificationProperties
Encapsulates all the configurable properties applicable for audio playback to post the player notification . All the properties have recommended default values that are suitable for the most cases.
Constructors
Properties
Activity to be launched when the player notification is clicked. If not set, on click player notification, device's home screen will be launched.
The id of the notification channel of an existing notification channel or of the channel that should be automatically created. By default it is application's package name. NOTE: This is required to build the Player Notification
The id of the notification to be posted. Must be greater than 0.
Sets whether the fast forward action should be used or not. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the fast forward action should also be used or not in compact view. This has no effect if showFastForwardAction is not enabled. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the next action should be used or not. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the play/pause action should be used or not. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the play/pause action should be used or not. This is applicable only for live content. NOTE: By default it is false for live content.
Sets whether the previous action should be used or not. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the rewind action should be used or not. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the rewind action should also be used or not in compact view. This has no effect if showRewindAction is not enabled. This is applicable only for On-demand content. NOTE: By default it is true for on-demand content.
Sets whether the stop action should be used or not. This is applicable only for On-demand content. NOTE: By default it is false for on-demand content.
Sets whether the stop action should be used or not. This is applicable only for live content. NOTE: By default it is true for live content.