Partager via


CallAutomationModelFactory.ContinuousDtmfRecognitionToneReceived Method

Definition

Initializes a new instance of ContinuousDtmfRecognitionToneReceived.

public static Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived ContinuousDtmfRecognitionToneReceived (int? sequenceId = default, Azure.Communication.CallAutomation.DtmfTone? tone = default, string callConnectionId = default, string serverCallId = default, string correlationId = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, string operationContext = default);
static member ContinuousDtmfRecognitionToneReceived : Nullable<int> * Nullable<Azure.Communication.CallAutomation.DtmfTone> * string * string * string * Azure.Communication.CallAutomation.ResultInformation * string -> Azure.Communication.CallAutomation.ContinuousDtmfRecognitionToneReceived
Public Shared Function ContinuousDtmfRecognitionToneReceived (Optional sequenceId As Nullable(Of Integer) = Nothing, Optional tone As Nullable(Of DtmfTone) = Nothing, Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing, Optional resultInformation As ResultInformation = Nothing, Optional operationContext As String = Nothing) As ContinuousDtmfRecognitionToneReceived

Parameters

sequenceId
Nullable<Int32>

The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation. Also called ChainId or skype chain ID.

resultInformation
ResultInformation

Contains the resulting SIP code, sub-code and message.

operationContext
String

Used by customers when calling mid-call actions to correlate the request to the response event.

Returns

A new ContinuousDtmfRecognitionToneReceived instance for mocking.

Applies to