Class StartCallOptions


  • public final class StartCallOptions
    extends CallOptions
    Options to be passed when starting a call
    • Constructor Detail

      • StartCallOptions

        public StartCallOptions()
        Creates a new instance with a default configuration
    • Method Detail

      • getVideoOptions

        @Deprecated
        public VideoOptions getVideoOptions()
        Deprecated.
        Use getIncomingVideoOptions() and getOutgoingVideoOptions() instead
        Video options. When both OutgoingVideoOptions and VideoOptions are specified both options will be merged.
      • setVideoOptions

        @Deprecated
        public StartCallOptions setVideoOptions​(VideoOptions value)
        Deprecated.
        Use getIncomingVideoOptions() and getOutgoingVideoOptions() instead
        Video options. When both OutgoingVideoOptions and VideoOptions are specified both options will be merged.
        Parameters:
        value - The new value.
      • getAudioOptions

        @Deprecated
        public AudioOptions getAudioOptions()
        Deprecated.
        Use getIncomingAudioOptions() and getOutgoingAudioOptions() instead.
        Audio options when joining a call
      • setAudioOptions

        @Deprecated
        public StartCallOptions setAudioOptions​(AudioOptions value)
        Deprecated.
        Use getIncomingAudioOptions() and getOutgoingAudioOptions() instead.
        Audio options when joining a call
        Parameters:
        value - The new value.
      • setAlternateCallerId

        public StartCallOptions setAlternateCallerId​(PhoneNumberIdentifier alternatePhoneNumber)
        Set an alternate phone number of a remote participant
        Parameters:
        alternatePhoneNumber - Alternate phone number to use for this participant.
        Returns:
        an instance of StartCallOptions updated
      • getAlternateCallerId

        public PhoneNumberIdentifier getAlternateCallerId()
        Get the alternate phone number of a remote participant
        Returns:
        a PhoneNumberIdentifier object representing the alternate id.