Class AddParticipantOptions
java.lang.Object
com.azure.communication.callautomation.models.AddParticipantOptions
The options for adding participants.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the invitationTimeoutInSeconds.Get the overridden call back URL override for operation.Get the operationContext.Get Information for participant to addsetInvitationTimeout(Duration invitationTimeout) Set the invitationTimeoutInSeconds.setOperationCallbackUrl(String operationCallbackUrl) Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.setOperationContext(String operationContext) Set the operationContext.
-
Constructor Details
-
AddParticipantOptions
Constructor- Parameters:
targetParticipant- target callinvite
-
-
Method Details
-
getTargetParticipant
Get Information for participant to add- Returns:
- target callInvite
-
getOperationContext
Get the operationContext.- Returns:
- the operationContext
-
getOperationCallbackUrl
Get the overridden call back URL override for operation.- Returns:
- the operationCallbackUrl
-
getInvitationTimeout
Get the invitationTimeoutInSeconds.- Returns:
- the Invitation Timeout In Seconds
-
setOperationContext
Set the operationContext.- Parameters:
operationContext- the operationContext to set- Returns:
- the AddParticipantOptions object itself.
-
setOperationCallbackUrl
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 to set- Returns:
- the AddParticipantOptions object itself.
-
setInvitationTimeout
Set the invitationTimeoutInSeconds.- Parameters:
invitationTimeout- Set the timeout to wait for the invited participant to pickup. The maximum value of this is 180 seconds.- Returns:
- the AddParticipantOptions object itself.
-