AddPhoneNumberOptions Class   
	- java.lang. Object 
- com.azure. android. communication. calling. AddPhoneNumberOptions 
 
- com.
public class AddPhoneNumberOptions
Options when making an outgoing PSTN call
Constructor Summary
| Constructor | Description | 
|---|---|
| AddPhoneNumberOptions() | Creates a new instance with a default configuration | 
| AddPhoneNumberOptions(com.azure.android.communication.common.PhoneNumberIdentifier alternatePhoneNumber) | Creates a new instance with an PhoneNumberIdentifier | 
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| void | finalize() Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | 
| com.azure.android.communication.common.PhoneNumberIdentifier | getAlternateCallerId() Get the alternate phone number of a remote participant | 
| Add | setAlternateCallerId(com.azure.android.communication.common.PhoneNumberIdentifier alternatePhoneNumber) Set an alternate phone number of a remote participant | 
Constructor Details
AddPhoneNumberOptions
public AddPhoneNumberOptions()
Creates a new instance with a default configuration
AddPhoneNumberOptions
public AddPhoneNumberOptions(com.azure.android.communication.common.PhoneNumberIdentifier alternatePhoneNumber)
Creates a new instance with an PhoneNumberIdentifier
Parameters:
Method Details
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
getAlternateCallerId
public com.azure.android.communication.common.PhoneNumberIdentifier getAlternateCallerId()
Get the alternate phone number of a remote participant
Returns:
setAlternateCallerId
public AddPhoneNumberOptions setAlternateCallerId(com.azure.android.communication.common.PhoneNumberIdentifier alternatePhoneNumber)
Set an alternate phone number of a remote participant
Parameters:
Returns: