AI-generated Key Takeaways
-
CastRemoteDisplayLocalService.Options provides options for a Remote Display session.
-
An Options object can be created with default values using its public constructor.
-
The configuration preset for the Remote Display can be retrieved using
getConfigPreset(). -
The configuration preset for the Remote Display can be set using
setConfigPreset(int configPreset), which affects latency optimization and other behaviors.
Options for a Remote Display session. See
CastRemoteDisplay.CastRemoteDisplayOptions.Builder.
Public Constructor Summary
|
Options()
Create an options object with default values.
|
Public Method Summary
| int |
getConfigPreset()
Get the Remote Display configuration preset.
|
| void |
setConfigPreset(int configPreset)
Set the Remote Display configuration preset.
|
Inherited Method Summary
Public Constructors
public Options ()
Create an options object with default values.
Public Methods
public int getConfigPreset ()
Get the Remote Display configuration preset.
Returns
- The
CastRemoteDisplay.Configurationvalue
public void setConfigPreset (int configPreset)
Set the Remote Display configuration preset. This affects latency optimization and
other transmission and display behaviours. The default is
CastRemoteDisplay.CONFIGURATION_INTERACTIVE_NONREALTIME.
Parameters
| configPreset | The desired streaming preset, which is one of
CastRemoteDisplay.Configuration |
|---|