public static enum Archive.StreamMode extends java.lang.Enum<Archive.StreamMode>
ArchiveProperties.Builder.streamMode(com.opentok.Archive.StreamMode) method
and returned by the Archive.getStreamMode() method.| Enum Constant and Description |
|---|
AUTO
Streams will be automatically included in the archive.
|
MANUAL
Streams will be included in the archive based on calls to the
OpenTok.addArchiveStream(String, String, boolean, boolean) and
OpenTok.removeArchiveStream(String, String) methods. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Archive.StreamMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Archive.StreamMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Archive.StreamMode AUTO
public static final Archive.StreamMode MANUAL
OpenTok.addArchiveStream(String, String, boolean, boolean) and
OpenTok.removeArchiveStream(String, String) methods.public static Archive.StreamMode[] values()
for (Archive.StreamMode c : Archive.StreamMode.values()) System.out.println(c);
public static Archive.StreamMode 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 java.lang.String toString()
toString in class java.lang.Enum<Archive.StreamMode>