UnholdOptions Class

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

public final class UnholdOptions

Options for the Unhold operation.

Constructor Summary

Constructor Description
UnholdOptions(CommunicationIdentifier targetParticipant)

Create a new UnholdOptions object.

Method Summary

Modifier and Type Method and Description
String getOperationCallbackUrl()

Get the operationCallbackUrl property: Set a callback URI that overrides the default callback URL set by CreateCall/AnswerCall for this operation.

String getOperationContext()

Get the operation context.

CommunicationIdentifier getTargetParticipant()

Get Participant to be put on unhold.

UnholdOptions setOperationCallbackUrl(String operationCallbackUrl)

Set the operationCallbackUrl property: Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.

UnholdOptions setOperationContext(String operationContext)

Sets the operation context.

Methods inherited from java.lang.Object

Constructor Details

UnholdOptions

public UnholdOptions(CommunicationIdentifier targetParticipant)

Create a new UnholdOptions object.

Parameters:

targetParticipant - Participant to be put on unhold.

Method Details

getOperationCallbackUrl

public String getOperationCallbackUrl()

Get the operationCallbackUrl property: Set a callback URI that overrides the default callback URL set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URL set by CreateCall/AnswerCall will be used.

Returns:

the operationCallbackUrl value.

getOperationContext

public String getOperationContext()

Get the operation context.

Returns:

operation context.

getTargetParticipant

public CommunicationIdentifier getTargetParticipant()

Get Participant to be put on unhold.

Returns:

participant.

setOperationCallbackUrl

public UnholdOptions setOperationCallbackUrl(String operationCallbackUrl)

Set the operationCallbackUrl property: Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.

Parameters:

operationCallbackUrl - the operationCallbackUrl value to set.

Returns:

the UnholdRequest object itself.

setOperationContext

public UnholdOptions setOperationContext(String operationContext)

Sets the operation context.

Parameters:

operationContext - Operation Context

Returns:

The UnholdOptions object.

Applies to