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

VoiceAgentUnknownEvent interface

该版本SDK不识别其线路类型的服务器事件。

SDK在不关闭连接或应用已知事件验证或规范化的情况下,直接传递这些事件。 使用前检查并验证原始字段。

属性

eventType

原始 type 鉴别器从服务中获得。

rawEvent

完整的解析后的JSON事件,包括其原始 type 字段及所有其他线字段。

type

SDK 备用判别器,区别于所有已知的服务器事件类型。

属性详细信息

eventType

原始 type 鉴别器从服务中获得。

eventType: string

属性值

string

rawEvent

完整的解析后的JSON事件,包括其原始 type 字段及所有其他线字段。

rawEvent: Record<string, unknown>

属性值

Record<string, unknown>

type

SDK 备用判别器,区别于所有已知的服务器事件类型。

type: "unknown"

属性值

"unknown"