This interface is deprecated.
      The Remote Display feature is deprecated and will be removed in a future release.
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 Method Summary
| abstract PendingResult<CastRemoteDisplay.CastRemoteDisplaySessionResult> | 
                 
                  
                  startRemoteDisplay(GoogleApiClient
                  apiClient, String
                  applicationId)
                   
              
                    The low level API for starting a Cast Remote Display session.
                   
                 | 
            
| abstract PendingResult<CastRemoteDisplay.CastRemoteDisplaySessionResult> | 
                 
                  
                  stopRemoteDisplay(GoogleApiClient
                  apiClient)
                   
              
                    The low level API for stopping a Cast Remote Display session.
                   
                 | 
            
Public Methods
public abstract PendingResult<CastRemoteDisplay.CastRemoteDisplaySessionResult> startRemoteDisplay (GoogleApiClient apiClient, String applicationId)
The low level API for starting a Cast Remote Display session.
Parameters
| 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. | 
              
Returns
- A 
PendingResultthat 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 aPresentation. SeeCastRemoteDisplay.CastRemoteDisplaySessionResult. 
public abstract PendingResult<CastRemoteDisplay.CastRemoteDisplaySessionResult> stopRemoteDisplay (GoogleApiClient apiClient)
The low level API for stopping a Cast Remote Display session.
Parameters
| apiClient | The google API client instance. See GoogleApiClient.
                See 
                CastRemoteDisplay.CastRemoteDisplaySessionResult. | 
              
|---|
Returns
- A 
PendingResultthat will be successful if the remote display session could be stopped normally.}. Must not benull.