RemoteMediaClient.Listener

public static interface RemoteMediaClient.Listener
Known Indirect Subclasses

This interface was deprecated.
Use RemoteMediaClient.Callback instead.

The listener interface for tracking player status changes. Methods will be invoked on the main thread.

Public Method Summary

abstract void
onAdBreakStatusUpdated()
Called when updated ad break status information is received.
abstract void
onMetadataUpdated()
Called when updated media metadata is received.
abstract void
onPreloadStatusUpdated()
Called when updated player queue preload status information is received, for example, the next item to play has been preloaded.
abstract void
onQueueStatusUpdated()
Called when updated player queue status information is received.
abstract void
onSendingRemoteMediaRequest()
Called when there is an outgoing request to the receiver.
abstract void
onStatusUpdated()
Called when updated player status information is received.

Public Methods

public abstract void onAdBreakStatusUpdated ()

Called when updated ad break status information is received.

public abstract void onMetadataUpdated ()

Called when updated media metadata is received.

public abstract void onPreloadStatusUpdated ()

Called when updated player queue preload status information is received, for example, the next item to play has been preloaded. This gives the caller a chance to respond to preloading related event, such as displaying what will be played next in the UI.

public abstract void onQueueStatusUpdated ()

Called when updated player queue status information is received.

public abstract void onSendingRemoteMediaRequest ()

Called when there is an outgoing request to the receiver. This gives the caller a chance to update state of the UI of the sender app, for example, disable some controls.

public abstract void onStatusUpdated ()

Called when updated player status information is received.