MediaDescriptionAdapter
interface MediaDescriptionAdapter
An adapter to provide content assets of the media currently playing.
Types
Link copied to clipboard
interface BitmapCallback
Callback invoked when the image is loaded and ready to display in the notification.
Functions
Link copied to clipboard
Creates a content intent for the current media item.
Link copied to clipboard
Gets the content text for the current media item.
Link copied to clipboard
Gets the content title for the current media item.
Link copied to clipboard
open fun getCurrentLargeIcon(playback: MediaPlayback<out Any>, callback: PlaybackNotification.MediaDescriptionAdapter.BitmapCallback): Bitmap
Gets the large icon for the current media item.
Link copied to clipboard
Gets the content sub text for the current media item.