CastRemoteDisplay.CastRemoteDisplaySessionCallbacks

  • The CastRemoteDisplay.CastRemoteDisplaySessionCallbacks interface is deprecated.

  • Use a PendingIntent with CastRemoteDisplayClient.startRemoteDisplay to be notified when a remote display session ends.

  • The interface includes a method onRemoteDisplayEnded which is called when the remote display session terminates and provides a status indicating the reason.

public static interface CastRemoteDisplay.CastRemoteDisplaySessionCallbacks

This interface is deprecated.
Pass a PendingIntent in CastRemoteDisplayClient.startRemoteDisplay(CastDevice, String, int, android.app.PendingIntent) to get notified when the remote display session is ended.

Cast Remote Display session callbacks.

Public Method Summary

abstract void
onRemoteDisplayEnded(Status status)
Called when the remote display session ends.

Public Methods

public abstract void onRemoteDisplayEnded (Status status)

Called when the remote display session ends.

Parameters
status The reason that caused the remote display session to end.