Class HoldOptions
java.lang.Object
com.azure.communication.callautomation.models.HoldOptions
Options for the Hold operation.
-
Constructor Summary
ConstructorsConstructorDescriptionHoldOptions(CommunicationIdentifier targetParticipant) Create a new HoldOptions object. -
Method Summary
Modifier and TypeMethodDescriptionGet the operationCallbackUrl.Get the operation context.Get PlaySourceInfoGet Participant to be put on hold.setOperationCallbackUrl(String operationCallbackUrl) Sets the operationCallbackUrl.setOperationContext(String operationContext) Sets the operation context.setPlaySource(PlaySource playSource) Sets the playSource.
-
Constructor Details
-
HoldOptions
Create a new HoldOptions object.- Parameters:
targetParticipant- Participant to be put on hold.
-
-
Method Details
-
getTargetParticipant
Get Participant to be put on hold.- Returns:
- participant.
-
getPlaySource
Get PlaySourceInfo- Returns:
- the playSourceInfo.
-
setPlaySource
Sets the playSource.- Parameters:
playSource- playSource- Returns:
- The HoldOptions object.
-
getOperationContext
Get the operation context.- Returns:
- operation context.
-
setOperationContext
Sets the operation context.- Parameters:
operationContext- Operation Context- Returns:
- The HoldOptions object.
-
getOperationCallbackUrl
Get the operationCallbackUrl.- Returns:
- operationCallbackUrl.
-
setOperationCallbackUrl
Sets the operationCallbackUrl.- Parameters:
operationCallbackUrl- operationCallbackUrl- Returns:
- The HoldOptions object.
-