Package io.openvidu.java.client
Enum Recording.Status
- java.lang.Object
-
- java.lang.Enum<Recording.Status>
-
- io.openvidu.java.client.Recording.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Recording.Status>
- Enclosing class:
- Recording
public static enum Recording.Status extends Enum<Recording.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description failed
The recording has failed.ready
The recording has finished being processed and is available for download through propertyRecording.getUrl()
started
The recording has started and is going onstarting
The recording is starting (cannot be stopped).stopped
The recording has stopped and is being processed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Recording.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Recording.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
starting
public static final Recording.Status starting
The recording is starting (cannot be stopped). Some recording may not go through this status and directly reach "started" status
-
started
public static final Recording.Status started
The recording has started and is going on
-
stopped
public static final Recording.Status stopped
The recording has stopped and is being processed. At some point it will reach "ready" status
-
ready
public static final Recording.Status ready
The recording has finished being processed and is available for download through propertyRecording.getUrl()
-
failed
public static final Recording.Status failed
The recording has failed. This status may be reached from "starting", "started" and "stopped" status
-
-
Method Detail
-
values
public static Recording.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Recording.Status c : Recording.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Recording.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-