getCurrentLargeIcon

Gets the large icon for the current media item.

When a bitmap needs to be loaded asynchronously, a placeholder bitmap (or null) should be returned. The actual bitmap should be passed to the BitmapCallback once it has been loaded. Because the adapter may be called multiple times for the same media item, bitmaps should be cached by the app and returned synchronously when possible.

See setLargeIcon.

Return

The large icon for the current media item, or null if the icon will be returned through the BitmapCallback or if no icon should be displayed.

Parameters

playback

The MediaPlayback for which a notification is being built.

callback

A BitmapCallback to provide a Bitmap asynchronously.