| java.lang.Object | |
| ↳ | com.google.android.gms.cast.CastRemoteDisplay.CastRemoteDisplayOptions.Builder |
A builder to create an instance of CastRemoteDisplay.CastRemoteDisplayOptions to
set API configuration parameters for CastRemoteDisplay.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder of
CastRemoteDisplay.CastRemoteDisplayOptions that configures the Cast remote
display API to connect to a Google Cast device. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a CastOptions with the arguments supplied to this builder.
| |||||||||||
Set the Remote Display configuration preset.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a builder of CastRemoteDisplay.CastRemoteDisplayOptions that configures the Cast remote
display API to connect to a Google Cast device.
| castDevice | The Cast receiver device returned from the MediaRouter. May not be null. |
|---|---|
| callbacks | The callbacks for Cast Remote Display session events. May not be
null. |
Builds a CastOptions with the arguments supplied to this builder.
Set the Remote Display configuration preset. This affects latency optimization and
other transmission and display behaviours. The default is
CONFIGURATION_INTERACTIVE_NONREALTIME.
| configPreset | The desired streaming preset, which is one of
CastRemoteDisplay.Configuration |
|---|