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.Object
Represents options available when connecting to aCall
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallOptions.Builder
Build newCallOptions
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IceOptions
getIceOptions()
Returns the custom ICE configuration used to connect to a Call.java.util.List<AudioCodec>
getPreferredAudioCodecs()
Returns the preferred audio codecs.boolean
isDscpEnabled()
Get the flag that indicates whether Differentiated Services Field Code Point (DSCP) is enabled with Expedited Forwarding (EF).boolean
isIceGatheringOnAnyAddressPortsEnabled()
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.
-
-