VoiceProfileEnrollmentResult class

Formato di output

Costruttori

VoiceProfileEnrollmentResult(ResultReason, string, string)

Proprietà

enrollmentResultDetails
enrollmentsCount
enrollmentsLength
errorDetails
properties
reason

Metodi

FromIdentificationProfileList({ value: EnrollmentResultJSON[] })
FromVerificationProfileList({ value: EnrollmentResultJSON[] })

Dettagli costruttore

VoiceProfileEnrollmentResult(ResultReason, string, string)

new VoiceProfileEnrollmentResult(reason: ResultReason, json: string, statusText: string)

Parametri

reason
ResultReason
json

string

statusText

string

Dettagli proprietà

enrollmentResultDetails

EnrollmentResultDetails enrollmentResultDetails

Valore della proprietà

EnrollmentResultDetails

enrollmentsCount

number enrollmentsCount

Valore della proprietà

number

enrollmentsLength

number enrollmentsLength

Valore della proprietà

number

errorDetails

string errorDetails

Valore della proprietà

string

properties

PropertyCollection properties

Valore della proprietà

reason

ResultReason reason

Valore della proprietà

Dettagli metodo

FromIdentificationProfileList({ value: EnrollmentResultJSON[] })

static function FromIdentificationProfileList(json: { value: EnrollmentResultJSON[] }): VoiceProfileEnrollmentResult[]

Parametri

json

{ value: EnrollmentResultJSON[] }

Restituisce

FromVerificationProfileList({ value: EnrollmentResultJSON[] })

static function FromVerificationProfileList(json: { value: EnrollmentResultJSON[] }): VoiceProfileEnrollmentResult[]

Parametri

json

{ value: EnrollmentResultJSON[] }

Restituisce