public static enum CapabilityStorageControl.StreamProtocol extends java.lang.Enum<CapabilityStorageControl.StreamProtocol>
| Enum Constant and Description |
|---|
DASH
A stream which uses the
DASH
protocol.
|
HDS
A stream which uses the
HDS
protocol.
|
HLS
A stream which uses the
HLS
protocol.
|
SMOOTH
A stream which uses the
SMOOTH
protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static CapabilityStorageControl.StreamProtocol |
getEnum(int index)
A function to get stream protocol corresponding to provided index.
|
int |
getInt()
A function to get ordinal value of enum.
|
static CapabilityStorageControl.StreamProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityStorageControl.StreamProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityStorageControl.StreamProtocol DASH
public static final CapabilityStorageControl.StreamProtocol HLS
public static final CapabilityStorageControl.StreamProtocol HDS
public static final CapabilityStorageControl.StreamProtocol SMOOTH
public static CapabilityStorageControl.StreamProtocol[] values()
for (CapabilityStorageControl.StreamProtocol c : CapabilityStorageControl.StreamProtocol.values()) System.out.println(c);
public static CapabilityStorageControl.StreamProtocol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CapabilityStorageControl.StreamProtocol getEnum(int index)
index - the index of required CapabilityStorageControl.StreamProtocol.CapabilityStorageControl.StreamProtocol at the given index.public int getInt()