Package com.opentok

Class SessionProperties


public class SessionProperties
extends java.lang.Object
Defines values for the properties parameter of the OpenTok.createSession(SessionProperties) method.
See Also:
OpenTok.createSession(com.opentok.SessionProperties properties)
  • 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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait