UnholdOptions Class
- java.
lang. Object - com.
azure. communication. callautomation. models. UnholdOptions
- com.
public final class UnholdOptions
Options for the Unhold operation.
Constructor Summary
| Constructor | Description |
|---|---|
| UnholdOptions(CommunicationIdentifier targetParticipant) |
Create a new Unhold |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getOperationCallbackUrl()
Get the operation |
| String |
getOperationContext()
Get the operation context. |
|
Communication |
getTargetParticipant()
Get Participant to be put on unhold. |
|
Unhold |
setOperationCallbackUrl(String operationCallbackUrl)
Set the operation |
|
Unhold |
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:
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:
getOperationContext
public String getOperationContext()
Get the operation context.
Returns:
getTargetParticipant
public CommunicationIdentifier getTargetParticipant()
Get Participant to be put on unhold.
Returns:
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:
Returns:
setOperationContext
public UnholdOptions setOperationContext(String operationContext)
Sets the operation context.
Parameters:
Returns: