Package com.vonage.client.video
Enum Class StreamMode
- All Implemented Interfaces:
Serializable,Comparable<StreamMode>,java.lang.constant.Constable
Defines values for how streams will be selected for broadcasts and archives.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStreams will be automatically included in the archive or broadcast.Streams will be included in the archive or broadcast based on calls to theVideoClient.addArchiveStream(String, String, Boolean, Boolean)/VideoClient.addBroadcastStream(String, String, Boolean, Boolean)andVideoClient.removeArchiveStream(String, String)/VideoClient.removeBroadcastStream(String, String)methods. -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamModefromString(String value) toString()static StreamModeReturns the enum constant of this class with the specified name.static StreamMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Streams will be automatically included in the archive or broadcast. -
MANUAL
Streams will be included in the archive or broadcast based on calls to theVideoClient.addArchiveStream(String, String, Boolean, Boolean)/VideoClient.addBroadcastStream(String, String, Boolean, Boolean)andVideoClient.removeArchiveStream(String, String)/VideoClient.removeBroadcastStream(String, String)methods.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<StreamMode>
-
fromString
-