Package com.opentok
Class SessionProperties
java.lang.Object
com.opentok.SessionProperties
public class SessionProperties
extends java.lang.Object
Defines values for the
properties
parameter of the
OpenTok.createSession(SessionProperties)
method.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionProperties.Builder
Use this class to create a SessionProperties object. -
Method Summary
Modifier and Type Method Description ArchiveMode
archiveMode()
Defines whether the session will be automatically archived (ArchiveMode.ALWAYS
) or not (ArchiveMode.MANUAL
).java.lang.String
getLocation()
The location hint IP address.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.Collection<java.lang.String>>
toMap()
Returns the session properties as a Map.
-
Method Details
-
getLocation
public java.lang.String getLocation()The location hint IP address. SeeSessionProperties.Builder.location(String location)
. -
mediaMode
Defines whether the session will transmit streams using the OpenTok Media Server or attempt to transmit streams directly between clients. SeeSessionProperties.Builder.mediaMode(MediaMode mediaMode)
. -
archiveMode
Defines whether the session will be automatically archived (ArchiveMode.ALWAYS
) or not (ArchiveMode.MANUAL
). SeeSessionProperties.Builder.archiveMode(ArchiveMode archiveMode)
-
toMap
public java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> toMap()Returns the session properties as a Map.
-