LaunchOptions.Builder

public static final classLaunchOptions.BuilderextendsObject

A builder forLaunchOptions objects.

Public Constructor Summary

Builder()
Constructs a newLaunchOptions.Builder.
Builder(LaunchOptions copy)
Constructs a newLaunchOptions.Builder by making a copy of a giveLaunchOptions.

Public Method Summary

LaunchOptions
build()
Builds and returns theLaunchOptions object.
LaunchOptions.Builder
setAndroidReceiverCompatible(boolean androidReceiverCompatible)
Setstrueif the sender app supports casting to an Android TV app.
LaunchOptions.Builder
setCredentialsData(CredentialsData credentialsData)
Sets the credentials data.
LaunchOptions.Builder
setLocale(Localelocale)
Sets the desired application locale.
LaunchOptions.Builder
setRelaunchIfRunning(boolean relaunchIfRunning)
Sets the "relaunch if running" flag.

Inherited Method Summary

Public Constructors

publicBuilder()

Constructs a newLaunchOptions.Builder.

publicBuilder(LaunchOptions copy)

Constructs a newLaunchOptions.Builder by making a copy of a giveLaunchOptions.

Public Methods

publicLaunchOptions build()

Builds and returns theLaunchOptions object.

publicLaunchOptions.Builder setAndroidReceiverCompatible(boolean androidReceiverCompatible)

Setstrueif the sender app supports casting to an Android TV app.

publicLaunchOptions.Builder setCredentialsData(CredentialsData credentialsData)

Sets the credentials data.

publicLaunchOptions.Builder setLocale(Localelocale)

Sets the desired application locale.

publicLaunchOptions.Builder setRelaunchIfRunning(boolean relaunchIfRunning)

Sets the "relaunch if running" flag.