StartCallOptions Class

  • java.lang.Object
    • CallOptions
      • com.azure.android.communication.calling.StartCallOptions

public class StartCallOptions extends CallOptions

Options to be passed when starting a call

Constructor Summary

Constructor Description
StartCallOptions()

Creates a new instance with a default configuration

Method Summary

Modifier and Type Method and Description
com.azure.android.communication.common.PhoneNumberIdentifier getAlternateCallerId()

Get the alternate phone number of a remote participant

AudioOptions getAudioOptions()

Audio options when starting a call

VideoOptions getVideoOptions()

Video options when placing a call

StartCallOptions setAlternateCallerId(com.azure.android.communication.common.PhoneNumberIdentifier alternatePhoneNumber)

Set an alternate phone number of a remote participant

StartCallOptions setAudioOptions(AudioOptions value)

Audio options when starting a call

StartCallOptions setIncomingAudioOptions(IncomingAudioOptions value)

Incoming Audio options when accepting a call

StartCallOptions setIncomingVideoOptions(IncomingVideoOptions value)

Set or set the IncomingVideoOptions that should be taken in count once the call start

StartCallOptions setOutgoingAudioOptions(OutgoingAudioOptions value)

Outgoing Audio options when accepting a call

StartCallOptions setOutgoingVideoOptions(OutgoingVideoOptions value)

Set or set the OutgoingVideoOptions that should be taken in count once the call start

StartCallOptions setVideoOptions(VideoOptions value)

Video options when placing a call

Inherited Members

Constructor Details

StartCallOptions

public StartCallOptions()

Creates a new instance with a default configuration

Method Details

getAlternateCallerId

public com.azure.android.communication.common.PhoneNumberIdentifier getAlternateCallerId()

Get the alternate phone number of a remote participant

Returns:

a PhoneNumberIdentifier object representing the alternate id.

getAudioOptions

public AudioOptions getAudioOptions()

Audio options when starting a call

getVideoOptions

public VideoOptions getVideoOptions()

Video options when placing a call

setAlternateCallerId

public StartCallOptions setAlternateCallerId(com.azure.android.communication.common.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

setAudioOptions

public StartCallOptions setAudioOptions(AudioOptions value)

Audio options when starting a call

Parameters:

value - The new value.

setIncomingAudioOptions

public StartCallOptions setIncomingAudioOptions(IncomingAudioOptions value)

Incoming Audio options when accepting 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

Parameters:

value - The new value.

setOutgoingAudioOptions

public StartCallOptions setOutgoingAudioOptions(OutgoingAudioOptions value)

Outgoing Audio options when accepting a call

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

Parameters:

value - The new value.

setVideoOptions

public StartCallOptions setVideoOptions(VideoOptions value)

Video options when placing a call

Parameters:

value - The new value.

Applies to