Package com.vonage.client.video
Class CreateSessionRequest
java.lang.Object
com.vonage.client.video.CreateSessionRequest
- All Implemented Interfaces:
QueryParamsRequest
Defines the properties used to create a new video session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing CreateSessionRequest. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateSessionRequest.Builderbuilder()Instantiates a Builder, used to construct this object.Defines whether the session will be automatically archived (ArchiveMode.ALWAYS) or not (ArchiveMode.MANUAL).getE2ee()Defines whether the session will be end-to-end encrypted.The location hint IP address.Defines whether the session will transmit streams using the Vonage Media Server or attempt to transmit streams directly between clients.Internal method for serializing the fields of this class into query parameters.
-
Method Details
-
makeParams
Description copied from interface:QueryParamsRequestInternal 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 asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-
getLocation
The location hint IP address.- Returns:
- The IP address, or
nullif 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
nullif unspecified.
-
getArchiveMode
Defines whether the session will be automatically archived (ArchiveMode.ALWAYS) or not (ArchiveMode.MANUAL).- Returns:
- The ArchiveMode as an enum, or
nullif unspecified.
-
getE2ee
Defines whether the session will be end-to-end encrypted.- Returns:
trueif end-to-end encryption is enabled,nullif unspecified.- Since:
- 8.12.0
-
builder
Instantiates a Builder, used to construct this object.- Returns:
- A new CreateSessionRequest.Builder.
-