Freigeben über


Class SPXRecognitionResult

Declaration

@class SPXRecognitionResult : NSObject;

Description

Represents the recognition result base class.

Properties

resultId

@property (readonly, copy, atomic) NSString * _Nonnull resultId;

The result identifier.

reason

@property (readonly, atomic) SPXResultReason reason;

The reason the result was created.

text

@property (readonly, copy, atomic) NSString * _Nullable text;

The recognized text in the result.

duration

@property (readonly, atomic) uint64_t duration;

Duration of recognized speech in ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second.

offset

@property (readonly, atomic) uint64_t offset;

Offset of recognized speech in milliseconds. A single tick represents one hundred nanoseconds or one ten-millionth of a second.

properties

@property (readonly, atomic) id<SPXPropertyCollection> _Nullable properties;

The set of properties exposed in the result.