Compartir a través de


Class SPXNoMatchDetails

Declaration

@class SPXNoMatchDetails : NSObject;

Description

Defines detailed information for NoMatch recognition results.

Methods

initFromNoMatchRecognitionResult:

Initializes an instance of SPXNoMatchDetails object from a NoMatch result.

- (instancetype _Nullable)initFromNoMatchRecognitionResult:(SPXRecognitionResult * _Nonnull)recognitionResult

Parameters

  • recognitionResult - recognition result that has NoMatch returned in Reason.

Returns

an SPXNoMatchDetails instance.

initFromNoMatchRecognitionResult:error:

Initializes an instance of SPXNoMatchDetails object from a NoMatch result.

Added in version 1.6.0.

- (instancetype _Nullable)initFromNoMatchRecognitionResult:(SPXRecognitionResult * _Nonnull)recognitionResult
    error:(NSError * _Nullable * _Nullable)outError

Parameters

  • recognitionResult - recognition result that has NoMatch returned in Reason.
  • outError - error information.

Returns

an SPXNoMatchDetails instance.

Properties

reason

@property (readonly, atomic) SPXNoMatchReason reason;

The reason why NoMatch is returned.