Page Summary
-
The
CastRemoteDisplay.CastRemoteDisplaySessionCallbacksinterface is deprecated. -
Use a
PendingIntentwithCastRemoteDisplayClient.startRemoteDisplayto be notified when a remote display session ends. -
The interface includes a method
onRemoteDisplayEndedwhich is called when the remote display session terminates and provides a status indicating the reason.
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 |
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. |
|---|