Class CallOptions

java.lang.Object
com.twilio.voice.CallOptions
Direct Known Subclasses:
AcceptOptions, ConnectOptions

public abstract class CallOptions extends Object
Represents options available when connecting to a Call.
  • Method Details

    • getIceOptions

      @Nullable public IceOptions getIceOptions()
      Returns the custom ICE configuration used to connect to a Call.
    • getPreferredAudioCodecs

      @Nullable public 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.