Class CreateSessionRequest

java.lang.Object
com.vonage.client.video.CreateSessionRequest
All Implemented Interfaces:
QueryParamsRequest

public class CreateSessionRequest extends Object implements QueryParamsRequest
Defines the properties used to create a new video session.
  • Method Details

    • makeParams

      Description copied from interface: QueryParamsRequest
      Internal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked as final. Duplicate entries can be handled by mapping the key to a list of the entries.
      Specified by:
      makeParams in interface QueryParamsRequest
      Returns:
      The query parameters as unique key-value pairs.
    • getLocation

      The location hint IP address.
      Returns:
      The IP address, or null if unspecified.
    • getMediaMode

      Defines whether the session will transmit streams using the Vonage Media Server or attempt to transmit streams directly between clients.
      Returns:
      The MediaMode as an enum, or null if unspecified.
    • getArchiveMode

      Defines whether the session will be automatically archived (ArchiveMode.ALWAYS) or not (ArchiveMode.MANUAL).
      Returns:
      The ArchiveMode as an enum, or null if unspecified.
    • getE2ee

      public Boolean getE2ee()
      Defines whether the session will be end-to-end encrypted.
      Returns:
      true if end-to-end encryption is enabled, null if unspecified.
      Since:
      8.12.0
    • builder

      Instantiates a Builder, used to construct this object.
      Returns:
      A new CreateSessionRequest.Builder.