Page Summary
-
ApplicationConnectionResult is the result of launching or joining a Cast application.
-
This object contains information about the launched or joined application, including metadata and status.
-
If the launch or join call fails, only the application status will be valid.
-
Key methods include retrieving application metadata, status, session ID, and whether the application was launched by the call.
The result of a call to one of the
Cast.CastApi.launchApplication(GoogleApiClient, String) or
Cast.CastApi.joinApplication(GoogleApiClient) methods. If an application is
launched or joined, this object contains information about that application, including its
ApplicationMetadata
and current status. If the launching or joining call fails, then all values except
getApplicationStatus() will be invalid.
Public Method Summary
| abstract ApplicationMetadata |
getApplicationMetadata()
Returns the current application's metadata.
|
| abstract String |
getApplicationStatus()
Returns the current application's human-readable status.
|
| abstract String |
getSessionId()
Returns the current application's unique session ID as an opaque string.
|
| abstract boolean |
getWasLaunched()
Returns whether the application was launched as the result of this call of
Cast.CastApi.launchApplication(GoogleApiClient, String).
|
Inherited Method Summary
Public Methods
public abstract ApplicationMetadata getApplicationMetadata ()
Returns the current application's metadata.
public abstract String getApplicationStatus ()
Returns the current application's human-readable status.
public abstract String getSessionId ()
Returns the current application's unique session ID as an opaque string.
public abstract boolean getWasLaunched ()
Returns whether the application was launched as the result of this call of
Cast.CastApi.launchApplication(GoogleApiClient, String).