HoldOptions Class
- java.
lang. Object - com.
azure. communication. callautomation. models. HoldOptions
- com.
public final class HoldOptions
Options for the Hold operation.
Constructor Summary
| Constructor | Description |
|---|---|
| HoldOptions(CommunicationIdentifier targetParticipant) |
Create a new Hold |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getOperationCallbackUrl()
Get the operation |
| String |
getOperationContext()
Get the operation context. |
|
Play |
getPlaySource()
Get Play |
|
Communication |
getTargetParticipant()
Get Participant to be put on hold. |
|
Hold |
setOperationCallbackUrl(String operationCallbackUrl)
Sets the operation |
|
Hold |
setOperationContext(String operationContext)
Sets the operation context. |
|
Hold |
setPlaySource(PlaySource playSource)
Sets the play |
Methods inherited from java.lang.Object
Constructor Details
HoldOptions
public HoldOptions(CommunicationIdentifier targetParticipant)
Create a new HoldOptions object.
Parameters:
Method Details
getOperationCallbackUrl
public String getOperationCallbackUrl()
Get the operationCallbackUrl.
Returns:
getOperationContext
public String getOperationContext()
Get the operation context.
Returns:
getPlaySource
public PlaySource getPlaySource()
Get PlaySourceInfo
Returns:
getTargetParticipant
public CommunicationIdentifier getTargetParticipant()
Get Participant to be put on hold.
Returns:
setOperationCallbackUrl
public HoldOptions setOperationCallbackUrl(String operationCallbackUrl)
Sets the operationCallbackUrl.
Parameters:
Returns:
setOperationContext
public HoldOptions setOperationContext(String operationContext)
Sets the operation context.
Parameters:
Returns:
setPlaySource
public HoldOptions setPlaySource(PlaySource playSource)
Sets the playSource.
Parameters:
Returns: