getCurrentLargeIcon

abstract fun getCurrentLargeIcon(player: Player, callback: PlayerNotificationManager.BitmapCallback): Bitmap

Gets the large icon for the current media item.

When a bitmap initially needs to be asynchronously loaded, a placeholder (or null) can bereturned and the bitmap asynchronously passed to the PlayerNotificationManager.BitmapCallback once it isloaded. Because the adapter may be called multiple times for the same media item, the bitmapshould be cached by the app and whenever possible be returned synchronously at subsequentcalls for the same media item.

See setLargeIcon.

Parameters

player

The Player for which a notification is being built.

callback

A PlayerNotificationManager.BitmapCallback to provide a Bitmap asynchronously.