public final class CreateCallOptions extends Object
| Constructor and Description |
|---|
CreateCallOptions(String callbackUri,
List<MediaType> requestedMediaTypes,
List<EventSubscriptionType> requestedCallEvents)
Initializes a new instance of CreateCallOptions.
|
| Modifier and Type | Method and Description |
|---|---|
com.azure.communication.common.PhoneNumberIdentifier |
getAlternateCallerId()
Get the alternate caller id of the source.
|
String |
getCallbackUri()
Get the subject.
|
List<EventSubscriptionType> |
getRequestedCallEvents()
Get the requested call events to subscribe to.
|
List<MediaType> |
getRequestedMediaTypes()
Get the requested modalities.
|
String |
getSubject()
Get the subject.
|
CreateCallOptions |
setAlternateCallerId(com.azure.communication.common.PhoneNumberIdentifier alternateCallerId)
Set the alternate caller id of the source to be used when target is phone number.
|
CreateCallOptions |
setSubject(String subject)
Set the subject.
|
public CreateCallOptions(String callbackUri, List<MediaType> requestedMediaTypes, List<EventSubscriptionType> requestedCallEvents)
callbackUri - the callback URI.requestedMediaTypes - the requested media types.requestedCallEvents - the requested call events to subscribe to.IllegalArgumentException - if any parameters are null.public com.azure.communication.common.PhoneNumberIdentifier getAlternateCallerId()
public CreateCallOptions setAlternateCallerId(com.azure.communication.common.PhoneNumberIdentifier alternateCallerId)
alternateCallerId - the alternate caller id value to set.public String getSubject()
public CreateCallOptions setSubject(String subject)
subject - the subject.public String getCallbackUri()
public List<MediaType> getRequestedMediaTypes()
public List<EventSubscriptionType> getRequestedCallEvents()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.