RemoteMediaClient.Callback

public static abstract class RemoteMediaClient.Callback extends Object

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

Public Constructor Summary

Public Method Summary

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

Inherited Method Summary

Public Constructors

public RemoteMediaClient.Callback ()

Public Methods

public void onAdBreakStatusUpdated ()

Called when updated ad break status information is received.

public void onMetadataUpdated ()

Called when updated media metadata is received.

public 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 response to preloading related event, such as displaying what will be played next in the UI.

public void onQueueStatusUpdated ()

Called when updated player queue status information is received.

public 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 void onStatusUpdated ()

Called when updated player status information is received.