public class SessionProperties
extends java.lang.Object
properties parameter of the
OpenTok.createSession(SessionProperties) method.| Modifier and Type | Class and Description |
|---|---|
static class |
SessionProperties.Builder
Use this class to create a SessionProperties object.
|
| Modifier and Type | Method and Description |
|---|---|
ArchiveMode |
archiveMode()
Defines whether the session will be automatically archived (
ArchiveMode.ALWAYS)
or not (ArchiveMode.MANUAL). |
java.lang.String |
archiveName()
Indicates the archive resolution for all the archives in auto archived session.
|
Resolution |
archiveResolution()
Indicates the archive resolution for all the archives in auto archived session.
|
java.lang.String |
getLocation()
The location hint IP address.
|
boolean |
isEndToEndEncrypted()
Defines whether the session will use
end-to-end encryption.
|
MediaMode |
mediaMode()
Defines whether the session will transmit streams using the OpenTok Media Server or attempt
to transmit streams directly between clients.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
toMap()
Serializes the properties for making a request.
|
public java.lang.String getLocation()
SessionProperties.Builder.location(String location).public MediaMode mediaMode()
SessionProperties.Builder.mediaMode(MediaMode mediaMode).public ArchiveMode archiveMode()
ArchiveMode.ALWAYS)
or not (ArchiveMode.MANUAL). See
SessionProperties.Builder.archiveMode(ArchiveMode archiveMode)public java.lang.String archiveName()
ArchiveMode.ALWAYS will use this resolution for all archives of that session.null if not set (the default).public Resolution archiveResolution()
ArchiveMode.ALWAYS will use this resolution for all archives of that session.null if not set (the default).public boolean isEndToEndEncrypted()
SessionProperties.Builder.endToEndEncryption().true if end-to-end encryption is enabled, false otherwise.public java.util.Map<java.lang.String,java.util.List<java.lang.String>> toMap()