public static final classLaunchOptions.BuilderextendsObject
A builder forLaunchOptions
objects.
Public Constructor Summary
Builder()
Constructs a new
LaunchOptions.Builder .
|
|
Builder(LaunchOptions
copy)
Constructs a new
LaunchOptions.Builder
by making a copy of a giveLaunchOptions .
|
Public Method Summary
LaunchOptions |
build()
Builds and returns the
LaunchOptions
object.
|
LaunchOptions.Builder |
setAndroidReceiverCompatible(boolean androidReceiverCompatible)
Sets
true if the sender app supports casting to an Android TV app.
|
LaunchOptions.Builder | |
LaunchOptions.Builder | |
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)
Setstrue
if 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.