public static interface

Cast.ApplicationConnectionResult

implements Result
com.google.android.gms.cast.Cast.ApplicationConnectionResult

Class Overview

The result of a call to one of the launchApplication(GoogleApiClient, String) or 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.

Summary

Public Methods
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 launchApplication(GoogleApiClient, String).
[Expand]
Inherited Methods
From interface com.google.android.gms.common.api.Result

Public Methods

public abstract ApplicationMetadata getApplicationMetadata ()

Returns the current application's metadata.

Returns
ApplicationMetadata

public abstract String getApplicationStatus ()

Returns the current application's human-readable status.

Returns
String

public abstract String getSessionId ()

Returns the current application's unique session ID as an opaque string.

Returns
String

public abstract boolean getWasLaunched ()

Returns whether the application was launched as the result of this call of launchApplication(GoogleApiClient, String).

Returns
boolean