Cast.ApplicationConnectionResult

public static interface Cast.ApplicationConnectionResult implements Result

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).