| com.google.android.gms.cast.CastRemoteDisplayApi |
The low level API for starting a Cast Remote Display session (see CastRemoteDisplay.
In most use cases CastRemoteDisplayLocalService should be considered instead as it will
simplify managing the Cast Remote Display session when the main activity goes to background and
will provide a customizable default notification. CastRemoteDisplayApi is available for
the use cases where the Cast Remote Display rendering has to happen on a foreground service
that runs on a separate process.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The low level API for starting a Cast Remote Display session.
| |||||||||||
The low level API for stopping a Cast Remote Display session.
| |||||||||||
The low level API for starting a Cast Remote Display session.
| apiClient | The google API client instance. See GoogleApiClient. Must not be
null. |
|---|---|
| applicationId | The ID of Cast Remote Display application (from the Cast developer
portal). Must not be null. |
PendingResult that will be successful if the remote display session could
be started normally, in this case it will contain the display that can be used with a
Presentation.
See CastRemoteDisplay.CastRemoteDisplaySessionResult.
The low level API for stopping a Cast Remote Display session.
| apiClient | The google API client instance. See GoogleApiClient.
See CastRemoteDisplay.CastRemoteDisplaySessionResult.
|
|---|
PendingResult that will be successful if the remote display session could
be stopped normally.}. Must not be null.