LaunchOptions.Builder

public static final class LaunchOptions.Builder extends Object

A builder for LaunchOptions objects.

Public Constructor Summary

LaunchOptions.Builder(LaunchOptions copy)
Constructs a new LaunchOptions.Builder by making a copy of a give LaunchOptions.

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
setCredentialsData(CredentialsData credentialsData)
Sets the credentials data.
LaunchOptions.Builder
setLocale(Locale locale)
Sets the desired application locale.
LaunchOptions.Builder
setRelaunchIfRunning(boolean relaunchIfRunning)
Sets the "relaunch if running" flag.

Inherited Method Summary

Public Constructors

public LaunchOptions.Builder ()

Constructs a new LaunchOptions.Builder.

public LaunchOptions.Builder (LaunchOptions copy)

Constructs a new LaunchOptions.Builder by making a copy of a give LaunchOptions.

Public Methods

public LaunchOptions build ()

Builds and returns the LaunchOptions object.

public LaunchOptions.Builder setAndroidReceiverCompatible (boolean androidReceiverCompatible)

Sets true if the sender app supports casting to an Android TV app.

public LaunchOptions.Builder setCredentialsData (CredentialsData credentialsData)

Sets the credentials data.

public LaunchOptions.Builder setLocale (Locale locale)

Sets the desired application locale.

public LaunchOptions.Builder setRelaunchIfRunning (boolean relaunchIfRunning)

Sets the "relaunch if running" flag.