Class SendDtmfTonesOptions
java.lang.Object
com.azure.communication.callautomation.models.SendDtmfTonesOptions
The SendDtmfTonesOptions model.
-
Constructor Summary
ConstructorsConstructorDescriptionSendDtmfTonesOptions(List<DtmfTone> tones, CommunicationIdentifier targetParticipant) Constructor to build SendDtmfTonesOptions object -
Method Summary
Modifier and TypeMethodDescriptionGet the overridden call back URL override for operation.Get the operationContext property.Get the targetParticipant property.getTones()Get the list of Tones to be sent.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 property.
-
Constructor Details
-
SendDtmfTonesOptions
Constructor to build SendDtmfTonesOptions object- Parameters:
tones- List of Tones to be sent.targetParticipant- The target communication identifier.
-
-
Method Details
-
getTones
Get the list of Tones to be sent.- Returns:
- the list of Tones to be sent.
-
getTargetParticipant
Get the targetParticipant property.- Returns:
- the targetParticipant value.
-
getOperationContext
Get the operationContext property.- Returns:
- the operationContext value.
-
setOperationContext
Set the operationContext property.- Parameters:
operationContext- the operationContext value to set.- Returns:
- the PlayOptionsInternal object itself.
-
getOperationCallbackUrl
Get the overridden call back URL override for operation.- Returns:
- the operationCallbackUrl
-
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 SendDtmfTonesOptions object itself.
-