SendDtmfTonesOptions Class

  • java.lang.Object
    • com.azure.communication.callautomation.models.SendDtmfTonesOptions

public final class SendDtmfTonesOptions

The SendDtmfTonesOptions model.

Constructor Summary

Constructor Description
SendDtmfTonesOptions(List<DtmfTone> tones, CommunicationIdentifier targetParticipant)

Constructor to build SendDtmfTonesOptions object

Method Summary

Modifier and Type Method and Description
String getOperationCallbackUrl()

Get the overridden call back URL override for operation.

String getOperationContext()

Get the operationContext property.

CommunicationIdentifier getTargetParticipant()

Get the targetParticipant property.

List<DtmfTone> getTones()

Get the list of Tones to be sent.

SendDtmfTonesOptions setOperationCallbackUrl(String operationCallbackUrl)

Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.

SendDtmfTonesOptions setOperationContext(String operationContext)

Set the operationContext property.

Methods inherited from java.lang.Object

Constructor Details

SendDtmfTonesOptions

public SendDtmfTonesOptions(List<DtmfTone> tones, CommunicationIdentifier targetParticipant)

Constructor to build SendDtmfTonesOptions object

Parameters:

tones - List of Tones to be sent.
targetParticipant - The target communication identifier.

Method Details

getOperationCallbackUrl

public String getOperationCallbackUrl()

Get the overridden call back URL override for operation.

Returns:

the operationCallbackUrl

getOperationContext

public String getOperationContext()

Get the operationContext property.

Returns:

the operationContext value.

getTargetParticipant

public CommunicationIdentifier getTargetParticipant()

Get the targetParticipant property.

Returns:

the targetParticipant value.

getTones

public List<DtmfTone> getTones()

Get the list of Tones to be sent.

Returns:

the list of Tones to be sent.

setOperationCallbackUrl

public SendDtmfTonesOptions setOperationCallbackUrl(String operationCallbackUrl)

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.

setOperationContext

public SendDtmfTonesOptions setOperationContext(String operationContext)

Set the operationContext property.

Parameters:

operationContext - the operationContext value to set.

Returns:

the PlayOptionsInternal object itself.

Applies to