java.lang.Object | |
↳ | com.google.android.gms.cast.LaunchOptions |
An object that holds options that affect how a receiver application is launched. See
launchApplication(GoogleApiClient, String, LaunchOptions)
.
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LaunchOptions.Builder |
A builder for LaunchOptions objects.
|
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the language, or
null if none was specified.
| |||||||||||
Returns the "relaunch if running" flag.
| |||||||||||
Overridden to return a hashcode of the device ID.
| |||||||||||
Sets the language to be used by the receiver application.
| |||||||||||
Sets the "relaunch if running" flag.
| |||||||||||
Returns a string representation of this object.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Returns the language, or null
if none was specified.
Returns the "relaunch if running" flag.
Overridden to return a hashcode of the device ID.
Sets the language to be used by the receiver application. If not specified, the sender device's default language is used.
language | The language |
---|
Sets the "relaunch if running" flag. If the flag is set, the receiver application will be relaunched even if it is already running. The flag is not set by default.
Returns a string representation of this object.