public class Archive
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Archive.Status
Defines values returned by the
getStatus() method. |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreatedAt()
The time at which the archive was created, in milliseconds since the Unix epoch.
|
int |
getDuration()
The duration of the archive, in milliseconds.
|
java.lang.String |
getId()
The archive ID.
|
java.lang.String |
getName()
The name of the archive.
|
int |
getPartnerId()
The OpenTok API key associated with the archive.
|
java.lang.String |
getReason()
For archives with the status of Status.STOPPED, this can be set to "90 mins exceeded",
"failure", "session ended", or "user initiated".
|
java.lang.String |
getSessionId()
The session ID of the OpenTok session associated with this archive.
|
int |
getSize()
The size of the MP4 file.
|
Archive.Status |
getStatus()
The status of the archive, as defined by the
Archive.Status enum. |
java.lang.String |
getUrl()
The download URL of the available MP4 file.
|
static Archive |
makeArchive() |
java.lang.String |
toString() |
public static Archive makeArchive()
public long getCreatedAt()
public int getDuration()
public java.lang.String getId()
public java.lang.String getName()
public int getPartnerId()
public java.lang.String getReason()
public java.lang.String getSessionId()
public int getSize()
public Archive.Status getStatus()
Archive.Status enum.public java.lang.String getUrl()
OpenTok.listArchives() or OpenTok.getArchive(String)
method.public java.lang.String toString()
toString in class java.lang.Object