Package com.twilio.video
Class IceOptions.Builder
- java.lang.Object
-
- com.twilio.video.IceOptions.Builder
-
- Enclosing class:
- IceOptions
public static class IceOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IceOptions
build()
IceOptions.Builder
iceServers(java.util.Set<IceServer> iceServers)
Set ofIceServer
objects to be used during connection establishment.IceOptions.Builder
iceTransportPolicy(IceTransportPolicy iceTransportPolicy)
The transport policy to use.
-
-
-
Method Detail
-
iceServers
@NonNull public IceOptions.Builder iceServers(@NonNull java.util.Set<IceServer> iceServers)
Set ofIceServer
objects to be used during connection establishment.
-
iceTransportPolicy
@NonNull public IceOptions.Builder iceTransportPolicy(@NonNull IceTransportPolicy iceTransportPolicy)
The transport policy to use. Defaults toIceTransportPolicy.ALL
.
-
build
@NonNull public IceOptions build()
-
-