Summary: Methods | [Expand All]
public static interface

# RemoteMediaClient.Listener

com.google.android.gms.cast.framework.media.RemoteMediaClient.Listener

Known Indirect Subclasses UIMediaController
UIMediaController | A `UIMediaController` lets you bind the state of Android UI components to the state of a remote `CastSession`.

## Class Overview

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

## Summary

Public Methods
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 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.