public interface

MediaNotification.Provider.Callback

 androidx.media3.session.MediaNotification.Provider.Callback

Overview

Receives updates for a notification.

Summary

Methods
public voidonNotificationChanged(MediaNotification notification)

Called when a MediaNotification is changed.

Methods

public 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:

notification: The updated MediaNotification