Class StartCallOptions
- Object
-
- CallOptions
-
- StartCallOptions
-
public final class StartCallOptions extends CallOptions
Options to be passed when starting a call
-
-
Constructor Summary
Constructors Constructor Description StartCallOptions()
Creates a new instance with a default configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PhoneNumberIdentifier
getAlternateCallerId()
Get the alternate phone number of a remote participantAudioOptions
getAudioOptions()
Deprecated.Use getIncomingAudioOptions() and getOutgoingAudioOptions() instead.VideoOptions
getVideoOptions()
Deprecated.Use getIncomingVideoOptions() and getOutgoingVideoOptions() insteadStartCallOptions
setAlternateCallerId(PhoneNumberIdentifier alternatePhoneNumber)
Set an alternate phone number of a remote participantStartCallOptions
setAudioOptions(AudioOptions value)
Deprecated.Use getIncomingAudioOptions() and getOutgoingAudioOptions() instead.StartCallOptions
setIncomingAudioOptions(IncomingAudioOptions value)
Incoming Audio options when joining or accepting a callStartCallOptions
setIncomingVideoOptions(IncomingVideoOptions value)
Set or set the IncomingVideoOptions that should be taken in count once the call startStartCallOptions
setOutgoingAudioOptions(OutgoingAudioOptions value)
Outgoing Audio options when joining or accepting a callStartCallOptions
setOutgoingVideoOptions(OutgoingVideoOptions value)
Set or set the OutgoingVideoOptions that should be taken in count once the call startStartCallOptions
setVideoOptions(VideoOptions value)
Deprecated.Use getIncomingVideoOptions() and getOutgoingVideoOptions() instead-
Methods inherited from class CallOptions
finalize, getIncomingAudioOptions, getIncomingVideoOptions, getOutgoingAudioOptions, getOutgoingVideoOptions
-
-
-
-
Method Detail
-
getVideoOptions
@Deprecated public VideoOptions getVideoOptions()
Deprecated.Use getIncomingVideoOptions() and getOutgoingVideoOptions() insteadVideo 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() insteadVideo 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.
-
setIncomingVideoOptions
public StartCallOptions setIncomingVideoOptions(IncomingVideoOptions value)
Set or set the IncomingVideoOptions that should be taken in count once the call start- Overrides:
setIncomingVideoOptions
in classCallOptions
- Parameters:
value
- The new value.
-
setOutgoingVideoOptions
public StartCallOptions setOutgoingVideoOptions(OutgoingVideoOptions value)
Set or set the OutgoingVideoOptions that should be taken in count once the call start- Overrides:
setOutgoingVideoOptions
in classCallOptions
- Parameters:
value
- The new value.
-
setIncomingAudioOptions
public StartCallOptions setIncomingAudioOptions(IncomingAudioOptions value)
Incoming Audio options when joining or accepting a call- Overrides:
setIncomingAudioOptions
in classCallOptions
- Parameters:
value
- The new value.
-
setOutgoingAudioOptions
public StartCallOptions setOutgoingAudioOptions(OutgoingAudioOptions value)
Outgoing Audio options when joining or accepting a call- Overrides:
setOutgoingAudioOptions
in classCallOptions
- 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.
-
-