Class RedirectCallOptions
java.lang.Object
com.azure.communication.callautomation.models.RedirectCallOptions
The options for creating a call.
-
Constructor Summary
ConstructorDescriptionRedirectCallOptions
(String incomingCallContext, com.azure.communication.common.CommunicationIdentifier target) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the incomingCallContext.Get the Repeatability headers configuration.com.azure.communication.common.CommunicationIdentifier
Get the targetsetRepeatabilityHeaders
(RepeatabilityHeaders repeatabilityHeaders) Set the repeatability headers
-
Constructor Details
-
RedirectCallOptions
public RedirectCallOptions(String incomingCallContext, com.azure.communication.common.CommunicationIdentifier target) Constructor- Parameters:
incomingCallContext
- The incoming call context.target
- The target of being redirected to.
-
-
Method Details
-
getIncomingCallContext
Get the incomingCallContext.- Returns:
- the incomingCallContext.
-
getTarget
public com.azure.communication.common.CommunicationIdentifier getTarget()Get the target- Returns:
- the target
-
getRepeatabilityHeaders
Get the Repeatability headers configuration.- Returns:
- the repeatabilityHeaders
-
setRepeatabilityHeaders
Set the repeatability headers- Parameters:
repeatabilityHeaders
- The repeatability headers configuration.- Returns:
- the RedirectCallOptions object itself.
-