public static interface

RemoteMediaClient.Listener

com.google.android.gms.cast.framework.media.RemoteMediaClient.Listener
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
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 out going 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 response 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 out going 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.