Partager via


CallMedia.StartContinuousDtmfRecognitionAsync Method

Definition

Overloads

StartContinuousDtmfRecognitionAsync(ContinuousDtmfRecognitionOptions, CancellationToken)

Starts continuous Dtmf recognition in async mode with continuousDtmfRecognition options and configurations.

StartContinuousDtmfRecognitionAsync(CommunicationIdentifier, CancellationToken)

Starts continuous Dtmf recognition in async mode.

StartContinuousDtmfRecognitionAsync(ContinuousDtmfRecognitionOptions, CancellationToken)

Source:
CallMedia.cs
Source:
CallMedia.cs

Starts continuous Dtmf recognition in async mode with continuousDtmfRecognition options and configurations.

public virtual System.Threading.Tasks.Task<Azure.Response> StartContinuousDtmfRecognitionAsync (Azure.Communication.CallAutomation.ContinuousDtmfRecognitionOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member StartContinuousDtmfRecognitionAsync : Azure.Communication.CallAutomation.ContinuousDtmfRecognitionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StartContinuousDtmfRecognitionAsync : Azure.Communication.CallAutomation.ContinuousDtmfRecognitionOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StartContinuousDtmfRecognitionAsync (options As ContinuousDtmfRecognitionOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

options
ContinuousDtmfRecognitionOptions

An optional object containing continuousDtmfRecognition options and configurations.

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns an HTTP response with a 200 status code for success, or an HTTP failure error code in case of an error.

Applies to

StartContinuousDtmfRecognitionAsync(CommunicationIdentifier, CancellationToken)

Source:
CallMedia.cs
Source:
CallMedia.cs

Starts continuous Dtmf recognition in async mode.

public virtual System.Threading.Tasks.Task<Azure.Response> StartContinuousDtmfRecognitionAsync (Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default);
abstract member StartContinuousDtmfRecognitionAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StartContinuousDtmfRecognitionAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StartContinuousDtmfRecognitionAsync (targetParticipant As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

targetParticipant
CommunicationIdentifier

A target participant identifier for starting continuous Dtmf recognition.

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns an HTTP response with a 200 status code for success, or an HTTP failure error code in case of an error.

Applies to