你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CallMedia.StartRecognizing 方法

定义

识别音调。

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

参数

options
CallMediaRecognizeOptions

用于识别的配置属性。

cancellationToken
CancellationToken

用于取消请求的可选 CancellationToken。

返回

返回 StartRecognizingCallMediaResult,可用于等待 StartRecognizing 的相关事件。

适用于