public static class

CastRemoteDisplayLocalService.Options

extends Object
java.lang.Object
   ↳ com.google.android.gms.cast.CastRemoteDisplayLocalService.Options

Class Overview

Options for a remote display session. See CastRemoteDisplay.CastRemoteDisplayOptions.Builder.

Summary

Public Constructors
CastRemoteDisplayLocalService.Options()
Create an options object with default values.
Public Methods
int getConfigPreset()
Get the Remote Display configuration preset.
void setConfigPreset(int configPreset)
Set the Remote Display configuration preset.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CastRemoteDisplayLocalService.Options ()

Create an options object with default values.

Public Methods

public int getConfigPreset ()

Get the Remote Display configuration preset.

Returns
int The CastRemoteDisplay.Configuration value

public void setConfigPreset (int configPreset)

Set the Remote Display configuration preset. This affects latency optimization and other transmission and display behaviours. The default is CONFIGURATION_INTERACTIVE_NONREALTIME.

Parameters
configPreset int: The desired streaming preset, which is one of CastRemoteDisplay.Configuration