Package com.opentok
Enum Class Archive.Status
- All Implemented Interfaces:
Serializable
,Comparable<Archive.Status>
,Constable
- Enclosing class:
- Archive
Defines values returned by the
Archive.getStatus()
method.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe archive file is available for download from the OpenTok cloud.The archive file has been deleted.The archive file is no longer available at the OpenTok cloud.The recording of the archive failed.The archive is in progress and no clients are publishing streams to the session.The archive recording has started and is in progress.The archive recording has stopped, but the file is not available.The archive is available for download from the the upload target Amazon S3 bucket or Windows Azure container you set up for your OpenTok project. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static Archive.Status
Returns the enum constant of this class with the specified name.static Archive.Status[]
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
-
AVAILABLE
The archive file is available for download from the OpenTok cloud. You can get the URL of the download file by calling theArchive.getUrl()
method. -
DELETED
The archive file has been deleted. -
FAILED
The recording of the archive failed. -
PAUSED
The archive is in progress and no clients are publishing streams to the session. When an archive is in progress and any client publishes a stream, the status is STARTED. When an archive is PAUSED, nothing is recorded. When a client starts publishing a stream, the recording starts (or resumes). If all clients disconnect from a session that is being archived, the status changes to PAUSED, and after 60 seconds the archive recording stops (and the status changes to STOPPED). -
STARTED
The archive recording has started and is in progress. -
STOPPED
The archive recording has stopped, but the file is not available. -
UPLOADED
The archive is available for download from the the upload target Amazon S3 bucket or Windows Azure container you set up for your OpenTok project. -
EXPIRED
The archive file is no longer available at the OpenTok cloud.
-
-
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:
toString
in classEnum<Archive.Status>
-