Package com.opentok

Class SessionProperties

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SessionProperties.Builder
      Use this class to create a SessionProperties object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • archiveName

        public java.lang.String archiveName()
        Indicates the archive resolution for all the archives in auto archived session. A session that begins with archive mode ArchiveMode.ALWAYS will use this resolution for all archives of that session.
        Returns:
        The archive name, or null if not set (the default).
      • archiveResolution

        public Resolution archiveResolution()
        Indicates the archive resolution for all the archives in auto archived session. A session that begins with archive mode ArchiveMode.ALWAYS will use this resolution for all archives of that session.
        Returns:
        The archive resolution enum, or null if not set (the default).
      • toMap

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> toMap()
        Serializes the properties for making a request.
        Returns:
        The session properties as a Map.