RejectCallOptions Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.RejectCallOptions

public final class RejectCallOptions

The options for creating a call.

Constructor Summary

Constructor Description
RejectCallOptions(String incomingCallContext)

Constructor

Method Summary

Modifier and Type Method and Description
CallRejectReason getCallRejectReason()

Get the callRejectReason

String getIncomingCallContext()

Get the incomingCallContext.

RejectCallOptions setCallRejectReason(CallRejectReason callRejectReason)

Set the callRejectReason

Methods inherited from java.lang.Object

Constructor Details

RejectCallOptions

public RejectCallOptions(String incomingCallContext)

Constructor

Parameters:

incomingCallContext - The incoming call context.

Method Details

getCallRejectReason

public CallRejectReason getCallRejectReason()

Get the callRejectReason

Returns:

the callRejectReason

getIncomingCallContext

public String getIncomingCallContext()

Get the incomingCallContext.

Returns:

the incomingCallContext.

setCallRejectReason

public RejectCallOptions setCallRejectReason(CallRejectReason callRejectReason)

Set the callRejectReason

Parameters:

callRejectReason - The callRejectReason

Returns:

the RejectCallOptions object itself.

Applies to