Share via


SpeakerRecognitionCancellationDetails Class

Definition

Contains detailed information about why a result was canceled. Added in 1.12.0

public class SpeakerRecognitionCancellationDetails
type SpeakerRecognitionCancellationDetails = class
Public Class SpeakerRecognitionCancellationDetails
Inheritance
SpeakerRecognitionCancellationDetails

Properties

ErrorCode

The error code in case of an unsuccessful recognition (Reason is set to Error). If Reason is not Error, ErrorCode returns NoError.

ErrorDetails

The error message in case of an unsuccessful recognition (Reason is set to Error).

Reason

The reason the recognition was canceled.

Methods

FromResult(SpeakerRecognitionResult)

Contains the detailed information about why a speaker recognition result was canceled.

ToString()

Returns a string that represents the cancellation details.

Applies to