Class of android.media.session, in MediaController · MediaController.java · Android's reference
public abstract static class Callback
public Callback() empty body sourcepublic void onSessionDestroyed() empty body sourcepublic void onSessionEvent(String event, Bundle extras) empty body sourcepublic void onPlaybackStateChanged(PlaybackState state) empty body sourcepublic void onMetadataChanged(MediaMetadata metadata) empty body sourcepublic void onQueueChanged(List<MediaSession.QueueItem> queue) empty body sourcepublic void onQueueTitleChanged(CharSequence title) empty body sourcepublic void onExtrasChanged(Bundle extras) empty body sourcepublic void onAudioInfoChanged(PlaybackInfo info) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.