Package com.twilio.voice
Class CallOptions
- java.lang.Object
-
- com.twilio.voice.CallOptions
-
- Direct Known Subclasses:
AcceptOptions,ConnectOptions
public abstract class CallOptions extends java.lang.ObjectRepresents options available when connecting to aCall.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCallOptions.BuilderBuild newCallOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IceOptionsgetIceOptions()Returns the custom ICE configuration used to connect to a Call.java.util.List<AudioCodec>getPreferredAudioCodecs()Returns the preferred audio codecs.booleanisDscpEnabled()Get the flag that indicates whether Differentiated Services Field Code Point (DSCP) is enabled with Expedited Forwarding (EF).booleanisIceGatheringOnAnyAddressPortsEnabled()Get the flag that indicates whether gathering of ICE candidates on "any address" ports is enabled or not.
-
-
-
Method Detail
-
getIceOptions
@Nullable public IceOptions getIceOptions()
Returns the custom ICE configuration used to connect to a Call.
-
getPreferredAudioCodecs
@Nullable public java.util.List<AudioCodec> getPreferredAudioCodecs()
Returns the preferred audio codecs.
-
isDscpEnabled
public boolean isDscpEnabled()
Get the flag that indicates whether Differentiated Services Field Code Point (DSCP) is enabled with Expedited Forwarding (EF).
-
isIceGatheringOnAnyAddressPortsEnabled
public boolean isIceGatheringOnAnyAddressPortsEnabled()
Get the flag that indicates whether gathering of ICE candidates on "any address" ports is enabled or not.
-
-