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