Package com.vonage.client.video
Enum Class ArchiveStatus
- All Implemented Interfaces:
Serializable,Comparable<ArchiveStatus>,java.lang.constant.Constable
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 cloud.The archive file has been deleted.The archive file is no longer available in the 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 upload target Amazon S3 bucket or Windows Azure container you set up for your Vonage video project. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveStatusfromString(String value) toString()static ArchiveStatusReturns the enum constant of this class with the specified name.static ArchiveStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE
The archive file is available for download from the 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 upload target Amazon S3 bucket or Windows Azure container you set up for your Vonage video project. -
EXPIRED
The archive file is no longer available in the 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:
toStringin classEnum<ArchiveStatus>
-
fromString
-