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

SpeakerRecognitionResult class

输出格式

构造函数

SpeakerRecognitionResult(SpeakerResponse, ResultReason, CancellationErrorCode, string)

属性

errorDetails
profileId
properties
reason
score

构造函数详细信息

SpeakerRecognitionResult(SpeakerResponse, ResultReason, CancellationErrorCode, string)

new SpeakerRecognitionResult(response: SpeakerResponse, resultReason?: ResultReason, cancellationErrorCode?: CancellationErrorCode, errorDetails?: string)

参数

response

SpeakerResponse

resultReason
ResultReason
cancellationErrorCode
CancellationErrorCode
errorDetails

string

属性详细信息

errorDetails

string errorDetails

属性值

string

profileId

string profileId

属性值

string

properties

PropertyCollection properties

属性值

reason

ResultReason reason

属性值

score

number score

属性值

number