public static class ArchiveProperties.Builder
extends java.lang.Object
ArchiveProperties| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveProperties |
build()
Builds the ArchiveProperties object.
|
ArchiveProperties.Builder |
hasAudio(boolean hasAudio)
Call this method to include an audio track (
true) or not false). |
ArchiveProperties.Builder |
hasVideo(boolean hasVideo)
Call this method to include an video track (
true) or not false). |
ArchiveProperties.Builder |
name(java.lang.String name)
Call this method to set a name to the archive.
|
ArchiveProperties.Builder |
outputMode(Archive.OutputMode outputMode)
Call this method to choose the output mode to be generated for this archive.
|
public ArchiveProperties.Builder name(java.lang.String name)
name - The name of the archive. You can use this name to identify the archive. It is a property
of the Archive object, and it is a property of archive-related events in the OpenTok JavaScript SDK.public ArchiveProperties.Builder hasAudio(boolean hasAudio)
true) or not false).hasAudio - Whether the archive will include an audio track.public ArchiveProperties.Builder hasVideo(boolean hasVideo)
true) or not false).hasVideo - Whether the archive will include an video track.public ArchiveProperties.Builder outputMode(Archive.OutputMode outputMode)
outputMode - Set to a value defined in the Archive.OutputMode enum.public ArchiveProperties build()