Package com.opentok
Enum Class RenderStatus
- All Implemented Interfaces:
Serializable
,Comparable<RenderStatus>
,Constable
Enum representing the status of a
Render
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred and the Experience Composer could not proceed.The Vonage Video API platform has successfully connected to the remote application server, and is publishing the web view to an OpenTok stream.The Vonage Video API platform is in the process of connecting to the remote application at the URL provided.The Experience Composer has stopped. -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderStatus
fromString
(String status) toString()
static RenderStatus
Returns the enum constant of this class with the specified name.static RenderStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
STARTING
The Vonage Video API platform is in the process of connecting to the remote application at the URL provided. This is the initial state. -
STARTED
The Vonage Video API platform has successfully connected to the remote application server, and is publishing the web view to an OpenTok stream. -
STOPPED
The Experience Composer has stopped. -
FAILED
An error occurred and the Experience Composer could not proceed. It may occur at startup if the OpenTok server cannot connect to the remote application server or republish the stream. It may also occur at any point during the process due to an error in the Vonage Video API platform.
-
-
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
-
fromString
-
toString
- Overrides:
toString
in classEnum<RenderStatus>
-