MediaNotification.Provider.Callback


public interface MediaNotification.Provider.Callback


Receives updates for a notification.

All methods will be called on the application thread of the Player associated with the MediaSession the notification is provided for.

Summary

Public methods

abstract void

Called when a MediaNotification is changed.

Public methods

onNotificationChanged

abstract void onNotificationChanged(MediaNotification notification)

Called when a MediaNotification is changed.

This callback is called when notifications are updated, for example after a bitmap is loaded asynchronously and needs to be displayed.

Parameters
MediaNotification notification

The updated MediaNotification