Class RejectCallOptions
java.lang.Object
com.azure.communication.callautomation.models.RejectCallOptions
The options for creating a call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the callRejectReasonGet the incomingCallContext.setCallRejectReason(CallRejectReason callRejectReason) Set the callRejectReason
-
Constructor Details
-
RejectCallOptions
Constructor- Parameters:
incomingCallContext- The incoming call context.
-
-
Method Details
-
getIncomingCallContext
Get the incomingCallContext.- Returns:
- the incomingCallContext.
-
getCallRejectReason
Get the callRejectReason- Returns:
- the callRejectReason
-
setCallRejectReason
Set the callRejectReason- Parameters:
callRejectReason- The callRejectReason- Returns:
- the RejectCallOptions object itself.
-