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

KeywordRecognitionEventArgs 类

定义

KeywordRecognizer发出的事件的类。

public class KeywordRecognitionEventArgs : Microsoft.CognitiveServices.Speech.RecognitionEventArgs
type KeywordRecognitionEventArgs = class
    inherit RecognitionEventArgs
Public Class KeywordRecognitionEventArgs
Inherits RecognitionEventArgs
继承
KeywordRecognitionEventArgs

注解

由于关键字 (keyword) 检测的限制,KeywordRecognitionEventArgs.KeywordRecognitionEventArgsOffset 属性不包含准确的值。

属性

Offset

表示消息偏移量(以刻度为单位 (100 纳秒) )。

(继承自 RecognitionEventArgs)
Result

关键字识别事件结果。

SessionId

表示会话标识符。

(继承自 SessionEventArgs)

方法

ToString()

返回表示关键字 (keyword) 识别结果事件的字符串。

适用于