StreamOptionsFlag Class

public final class StreamOptionsFlag
extends ExpandableStringEnum<StreamOptionsFlag>

Defines values for StreamOptionsFlag.

Field Summary

Modifier and Type Field and Description
static final StreamOptionsFlag DEFAULT

Static value Default for StreamOptionsFlag.

static final StreamOptionsFlag LOW_LATENCY

Static value LowLatency for StreamOptionsFlag.

static final StreamOptionsFlag LOW_LATENCY_V2

Static value LowLatencyV2 for StreamOptionsFlag.

Constructor Summary

Constructor Description
StreamOptionsFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StreamOptionsFlag value.

Method Summary

Modifier and Type Method and Description
static StreamOptionsFlag fromString(String name)

Creates or finds a StreamOptionsFlag from its string representation.

static Collection<StreamOptionsFlag> values()

Gets known StreamOptionsFlag values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final StreamOptionsFlag DEFAULT

Static value Default for StreamOptionsFlag.

LOW_LATENCY

public static final StreamOptionsFlag LOW_LATENCY

Static value LowLatency for StreamOptionsFlag.

LOW_LATENCY_V2

public static final StreamOptionsFlag LOW_LATENCY_V2

Static value LowLatencyV2 for StreamOptionsFlag.

Constructor Details

StreamOptionsFlag

@Deprecated
public StreamOptionsFlag()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StreamOptionsFlag value.

Method Details

fromString

public static StreamOptionsFlag fromString(String name)

Creates or finds a StreamOptionsFlag from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StreamOptionsFlag.

values

public static Collection values()

Gets known StreamOptionsFlag values.

Returns:

known StreamOptionsFlag values.

Applies to