MediaControllerCompat.Callback

public static abstract class MediaControllerCompat.Callback
extends Object implements IBinder.DeathRecipient

java.lang.Object
   ↳ android.support.v4.media.session.MediaControllerCompat.Callback


Callback for receiving updates on from the session. A Callback can be registered using MediaControllerCompat.registerCallback(MediaControllerCompat.Callback)

Summary

Public constructors

Callback()

Public methods

void binderDied()
void onAudioInfoChanged(MediaControllerCompat.PlaybackInfo info)

Override to handle changes to the audio info.

void onCaptioningEnabledChanged(boolean enabled)

Override to handle changes to the captioning enabled status.

void onExtrasChanged(Bundle extras)

Override to handle changes to the MediaSessionCompat extras.

void onMetadataChanged(MediaMetadataCompat metadata)

Override to handle changes to the current metadata.

void onPlaybackStateChanged(PlaybackStateCompat state)

Override to handle changes in playback state.

void onQueueChanged(List<MediaSessionCompat.QueueItem> queue)

Override to handle changes to items in the queue.

void onQueueTitleChanged(CharSequence title)

Override to handle changes to the queue title.

void onRepeatModeChanged(int repeatMode)

Override to handle changes to the repeat mode.

void onSessionDestroyed()

Override to handle the session being destroyed.

void onSessionEvent(String event, Bundle extras)

Override to handle custom events sent by the session owner without a specified interface.

void<