Enum Class ArchiveStatus

java.lang.Object
java.lang.Enum<ArchiveStatus>
com.vonage.client.video.ArchiveStatus
All Implemented Interfaces:
Serializable, Comparable<ArchiveStatus>, java.lang.constant.Constable

public enum ArchiveStatus extends Enum<ArchiveStatus>
Defines values returned by the Archive.getStatus() method.
  • Enum Constant Details

    • AVAILABLE

      public static final ArchiveStatus AVAILABLE
      The archive file is available for download from the cloud. You can get the URL of the download file by calling the Archive.getUrl() method.
    • DELETED

      public static final ArchiveStatus DELETED
      The archive file has been deleted.
    • FAILED

      public static final ArchiveStatus FAILED
      The recording of the archive failed.
    • PAUSED

      public static final ArchiveStatus 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

      public static final ArchiveStatus STARTED
      The archive recording has started and is in progress.
    • STOPPED

      public static final ArchiveStatus STOPPED
      The archive recording has stopped, but the file is not available.
    • UPLOADED

      public static final ArchiveStatus 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

      public static final ArchiveStatus EXPIRED
      The archive file is no longer available in the cloud.
  • Method Details

    • values

      public static ArchiveStatus[] 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

      public static ArchiveStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ArchiveStatus>
    • fromString

      public static ArchiveStatus fromString(String value)