MediaNotification.Provider.Callback
Artifact: androidx.media3:media3-session
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 |
onNotificationChanged(MediaNotification notification)Called when a |
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 |