Share via


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