BackgroundPlaybackNotification
Manages the notification displayed with a MediaPlayback.
Functions
Link copied to clipboard
Link copied to clipboard
Get the MediaPlayback associated with the notification
Link copied to clipboard
Get the supported stream types for showing this notification.
Link copied to clipboard
open fun handleCustomCommand(mediaSession: <Error class: unknown class>?, controllerInfo: <Error class: unknown class>?, customCommand: <Error class: unknown class>?, args: <Error class: unknown class>?): Int
Link copied to clipboard
open fun setMediaSessionNotificationActions(mediaSession: <Error class: unknown class>, controller: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
Set a MediaPlayback to associate the notification
Link copied to clipboard
Set the stream types to show notifications for.