@class NSString, NSMutableDictionary, AFDictationOptions, AFDictationConnection, NSObject, NSMutableArray; @protocol OS_dispatch_queue, UIDictationConnectionDelegate, UIDictationConnectionTokenFilterProtocol; @interface UIDictationConnection : NSObject @property (retain, nonatomic) AFDictationOptions *dictationOptions; @property (retain, nonatomic) AFDictationConnection *connection; @property (nonatomic) BOOL offlineOnly; @property (nonatomic) BOOL ignoreSpeechRecognitionResults; @property (retain, nonatomic) NSObject *analyticsQueue; @property (copy, nonatomic) NSString *lastUsedPrimaryLanguage; @property (copy, nonatomic) NSString *lastUsedDetectedLanguage; @property (retain, nonatomic) NSMutableArray *lastUsedTopLanguages; @property (nonatomic) BOOL lowConfidenceAboutLanguageDetection; @property (nonatomic) unsigned int charBeforeInsertionPointOnDictationStart; @property (nonatomic) unsigned int charAfterInsertionPointOnDictationStart; @property (retain, nonatomic) NSMutableDictionary *lastReceivedPartials; @property (weak, nonatomic) id delegate; @property (weak, nonatomic) id tokenFilter; @property (nonatomic) BOOL receivedMultilingualResultsCommand; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)analytics; + (BOOL)isDictationAvailable; + (BOOL)dictationRestricted; + (id)interpretationFromSpeechTokens:(id)a0 startIndex:(unsigned long long)a1 filterBlock:(id /* block */)a2; + (BOOL)hasSpeechRecognitionPauseAckPhrases:(id)a0; + (BOOL)dictationIsSupportedForLanguageCode:(id)a0 error:(id *)a1; + (id)_log; + (void)cacheSupportedDictationLanguages; + (void)_updateFromGlobalOptions:(id)a0; + (void)afDelegate:(id)a0 didReceiveSearchResults:(id)a1 recognizedText:(id)a2 stable:(BOOL)a3 final:(BOOL)a4; - (void)sendSpeechCorrection:(id)a0 interactionIdentifier:(id)a1; - (void)dictationConnectionSpeechRecordingWillBegin:(id)a0; - (void)resumeSpeechRecognitionWithPrefixText:(id)a0 postfixText:(id)a1 selectedText:(id)a2; - (void)dictationConnectionSpeechRecordingDidEnd:(id)a0; - (id)_initializeWithOptions:(id)a0; - (void)dictationConnectionDidPauseRecognition:(id)a0; - (void)dictationConnectionSpeechRecordingDidBegin:(id)a0; - (void)sendSpeechCorrection:(id)a0 forIdentifier:(id)a1; - (void)preheat; - (void)_startWithOptions:(id)a0; - (void)pauseSpeechRecognition; - (void)dictationConnection:(id)a0 didRecognizePartialResult:(id)a1; - (void)start; - (void)synthesizeDidRecognizePhrases:(id)a0 languageModel:(id)a1 correctionIdentifier:(id)a2; - (void)dictationConnection:(id)a0 didReceiveSearchResults:(id)a1 recognizedText:(id)a2 stable:(BOOL)a3 final:(BOOL)a4; - (void)requestOfflineDictationSupportForLanguage:(id)a0 completion:(id /* block */)a1; - (void)startForFileAtURL:(id)a0 forLanguage:(id)a1; - (float)averagePower; - (void)dictationConnection:(id)a0 speechRecognitionDidFail:(id)a1; - (BOOL)dictationIsAvailableForLanguage:(id)a0; - (id)_dictationOptions:(id)a0; - (void)dictationConnnectionDidChangeAvailability:(id)a0; - (void)endSession; - (void)dictationConnection:(id)a0 speechRecordingDidBeginWithOptions:(id)a1; - (void)dictationConnection:(id)a0 languageDetectorFailedWithError:(id)a1; - (id)_speechOptions:(id)a0; - (BOOL)isSecureInput; - (void)dictationConnection:(id)a0 didRecognizeTokens:(id)a1 languageModel:(id)a2; - (void)dictationConnection:(id)a0 didRecognizePhrases:(id)a1 languageModel:(id)a2 correctionIdentifier:(id)a3; - (void)logDidAcceptDictationResult:(id)a0 reason:(id)a1 result:(id)a2 correctionIdentifier:(id)a3; - (void)dictationConnection:(id)a0 didRecognizeVoiceCommandCandidatePackage:(id)a1 nluResult:(id)a2; - (void)restartDictation; - (void)dictationConnection:(id)a0 didDetectLanguage:(id)a1 confidenceScores:(id)a2 isConfident:(BOOL)a3; - (id)_createConnectionOptions; - (void)beginAvailabilityMonitoring; - (void)dictationConnection:(id)a0 didRecognizeFinalResultCandidatePackage:(id)a1; - (void).cxx_destruct; - (void)synthesizeDidRecognizeTokens:(id)a0 languageModel:(id)a1; - (void)dictationConnection:(id)a0 didRecognizePartialPackage:(id)a1 nluResult:(id)a2 languageModel:(id)a3; - (long long)speechEventTypeForDictationActivationType:(unsigned long long)a0; - (void)cancelSpeech; - (void)dictationConnectionSpeechRecordingDidCancel:(id)a0; - (id)dictationSerializedResultWithPhrases:(id)a0 languageModel:(id)a1; - (void)dictationConnectionSpeechRecognitionDidSucceed:(id)a0; - (void)dictationConnection:(id)a0 speechRecordingDidFail:(id)a1; - (void)cancelAvailabilityMonitoring; - (void)suppressLowStorageNotificationForLanguage:(id)a0 suppress:(BOOL)a1; - (void)logDidAcceptReplacement:(id)a0 replacementLanguageCode:(id)a1 originalText:(id)a2 correctionIdentifier:(id)a3 interactionIdentifier:(id)a4; - (void)dictationConnection:(id)a0 didRecognizeMultilingualSpeech:(id)a1; - (void)stopSpeech:(id)a0 activationType:(unsigned long long)a1 result:(id)a2 suppressAlert:(BOOL)a3; - (void)logDidSelectAlternative:(id)a0 correctionIdentifier:(id)a1 interactionIdentifier:(id)a2; - (void)logDidShowAlternatives:(id)a0 correctionIdentifier:(id)a1 interactionIdentifier:(id)a2; - (void)dictationConnection:(id)a0 didBeginLocalRecognitionWithModelInfo:(id)a1; - (id)languageDetectionUserContext; @end