// // SFSpeechRecognitionResult.h // // Copyright (c) 2016 Apple, Inc. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @class SFTranscription; @class SFSpeechRecognitionMetadata; // A recognized utterance, corresponding to a segment of recorded audio with speech and containing one or more transcriptions hypotheses API_AVAILABLE(ios(10.0), macos(10.15)) @interface SFSpeechRecognitionResult : NSObject @property (nonatomic, readonly, copy) SFTranscription *bestTranscription; // Hypotheses for possible transcriptions, sorted in descending order of confidence (more likely first) @property (nonatomic, readonly, copy) NSArray *transcriptions; // True if the hypotheses will not change; speech processing is complete. @property (nonatomic, readonly, getter=isFinal) BOOL final; @property (nonatomic, nullable, readonly) SFSpeechRecognitionMetadata *speechRecognitionMetadata API_AVAILABLE(ios(14.0), macos(11.0)); @end NS_ASSUME_NONNULL_END