@class SRUIFSpeechRequestHandler, SRUIFUIBridgeClient, SRUIFSiriSessionStateHandler, NSObject, AFModesConfiguration, SRUIFAudioPowerLevelUpdater, AFSpeechSynthesisRecord, NSString, AFSiriClientStateManager, AFSettingsConnection, SRUIFStateFeedbackManager, SASActivationInstrumentationSender, AFAnalyticsTurnBasedInstrumentationContext, NSArray, SRUIFWatchAuthenticationManager, AFConnection, SRUIFSiriSessionInfo; @protocol AFUISiriSessionDelegate, AFUISiriSessionLocalDataSource, OS_dispatch_queue, AFUISiriSessionLocalDelegate; @interface AFUISiriSession : NSObject <AFAssistantUIService, AFSpeechDelegate, SRUIFSiriSessionStateHandlerDelegate, SRUIFSiriSessionStateHandlerDelegate, SRUIFSpeechRequestHandlerDelegate, SRUIFStateFeedbackManagerDelegate, SRUIFAudioPowerLevelUpdaterDelegate, AFUISiriSession, SRUIFUIBridgeClientDelegate> { NSObject<OS_dispatch_queue> *_delegateQueue; BOOL _currentRequestDidPresent; AFSpeechSynthesisRecord *_lastSpeechSynthesisRecord; AFConnection *_connection; AFSettingsConnection *_settingsConnection; BOOL _isDeviceInStarkMode; AFSiriClientStateManager *_clientStateManager; AFModesConfiguration *_modesConfiguration; SRUIFStateFeedbackManager *_stateFeedbackManager; SASActivationInstrumentationSender *_activationInstrumentationSender; } @property (retain, nonatomic) NSArray *sessionDelegateContext; @property (retain, nonatomic) NSArray *directActionApplicationContexts; @property (retain, nonatomic) SRUIFSpeechRequestHandler *speechRequestHandler; @property (readonly, nonatomic, getter=_connection) AFConnection *connection; @property (retain, nonatomic, getter=_instrumentationTurnContext, setter=_setInstrumentationTurnContext:) AFAnalyticsTurnBasedInstrumentationContext *instrumentationTurnContext; @property (retain, nonatomic, getter=_watchAuthenticationManager, setter=_setWatchAuthenticationManager:) SRUIFWatchAuthenticationManager *watchAuthenticationManager; @property (readonly, nonatomic, getter=_stateHandler) SRUIFSiriSessionStateHandler *stateHandler; @property (readonly, nonatomic, getter=_uiBridgeClient) SRUIFUIBridgeClient *uiBridgeClient; @property (readonly, nonatomic, getter=_audioPowerLevelUpdater) SRUIFAudioPowerLevelUpdater *audioPowerLevelUpdater; @property (retain, nonatomic) id<AFUISiriSessionDelegate> delegate; @property (weak, nonatomic) id<AFUISiriSessionLocalDataSource> localDataSource; @property (weak, nonatomic) id<AFUISiriSessionLocalDelegate> localDelegate; @property (nonatomic, getter=isEyesFree) BOOL eyesFree; @property (readonly, nonatomic) BOOL isProcessingAcousticIdRequest; @property (retain, nonatomic) SRUIFSiriSessionInfo *siriSessionInfo; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (unsigned long long)availabilityState; + (void)beginMonitoringSiriAvailability; + (id)effectiveCoreLocationBundle; - (BOOL)isListening; - (void)dealloc; - (void)preheat; - (void)end; - (void)setLockState:(unsigned long long)a0; - (void)clearContext; - (void)_playPhaticWithCompletion:(id)a0; - (void).cxx_destruct; - (BOOL)attendingState; - (void)cancelSpeechRequest; - (id)underlyingConnection; - (void)_localAuthenticationUIPresented; - (void)assistantConnection:(id)a0 willProcessStartPlayback:(long long)a1 intent:(id)a2 completion:(id /* block */)a3; - (BOOL)_hasActiveRequest; - (id)_modeOverrideValue; - (void)assistantConnection:(id)a0 appLaunchFailedWithBundleIdentifier:(id)a1; - (void)assistantConnection:(id)a0 didChangeAudioSessionID:(unsigned int)a1; - (void)assistantConnection:(id)a0 didFinishAcousticIDRequestWithSuccess:(BOOL)a1; - (void)assistantConnection:(id)a0 didStartAudioPlaybackRequest:(id)a1; - (void)assistantConnection:(id)a0 didUpdateResponseMode:(id)a1; - (void)assistantConnection:(id)a0 dismissAssistantWithReason:(long long)a1; - (void)assistantConnection:(id)a0 extensionRequestFinishedForApplication:(id)a1 error:(id)a2; - (void)assistantConnection:(id)a0 extensionRequestWillStartForApplication:(id)a1; - (void)assistantConnection:(id)a0 openURL:(id)a1 completion:(id /* block */)a2; - (void)assistantConnection:(id)a0 receivedCommand:(id)a1 completion:(id /* block */)a2; - (void)assistantConnection:(id)a0 recognitionUpdateWithPhrases:(id)a1 utterances:(id)a2 refId:(id)a3; - (void)assistantConnection:(id)a0 recognizedAdditionalSpeechInterpretation:(id)a1 refId:(id)a2; - (void)assistantConnection:(id)a0 requestFailedWithError:(id)a1 requestClass:(id)a2; - (void)assistantConnection:(id)a0 speechRecognized:(id)a1; - (void)assistantConnection:(id)a0 speechRecognizedPartialResult:(id)a1; - (void)assistantConnection:(id)a0 speechRecordingDidBeginOnAVRecordRoute:(id)a1 audioSessionID:(unsigned int)a2; - (void)assistantConnection:(id)a0 speechRecordingDidChangeAVRecordRoute:(id)a1; - (void)assistantConnection:(id)a0 speechRecordingDidFail:(id)a1; - (void)assistantConnection:(id)a0 speechRecordingPerformTwoShotPromptWithType:(long long)a1 completion:(id /* block */)a2; - (void)assistantConnection:(id)a0 startPlaybackDidFail:(long long)a1; - (void)assistantConnection:(id)a0 startUIRequestWithText:(id)a1 completion:(id /* block */)a2; - (void)assistantConnection:(id)a0 wantsToCacheImage:(id)a1; - (void)assistantConnection:(id)a0 willProcessAppLaunchWithBundleIdentifier:(id)a1; - (void)assistantConnectionAudioSessionDidBeginInterruption:(id)a0 userInfo:(id)a1; - (void)assistantConnectionAudioSessionDidEndInterruption:(id)a0 shouldResume:(BOOL)a1 userInfo:(id)a2; - (void)assistantConnectionDidChangeAudioRecordingPower:(id)a0; - (void)assistantConnectionDidDetectMusic:(id)a0; - (void)assistantConnectionDismissAssistant:(id)a0; - (void)assistantConnectionRequestFinished:(id)a0; - (void)assistantConnectionRequestWillStart:(id)a0; - (void)assistantConnectionSpeechRecordingDidCancel:(id)a0; - (void)assistantConnectionSpeechRecordingDidDetectStartpoint:(id)a0; - (void)assistantConnectionSpeechRecordingDidEnd:(id)a0; - (void)assistantConnectionSpeechRecordingWillBegin:(id)a0; - (void)assistantConnectionUpdatedSpeechEndEstimate:(id)a0 speechEndEstimate:(unsigned long long)a1; - (void)assistantConnectionWillStartAcousticIDRequest:(id)a0; - (void)audioPowerUpdaterDidUpdate:(id)a0 averagePower:(float)a1 peakPower:(float)a2; - (void)forceAudioSessionActive; - (void)forceAudioSessionInactive; - (void)recordUIMetrics:(id)a0; - (void)resumeInterruptedAudioPlaybackIfNeeded; - (void)rollbackClearContext; - (void)setAnnouncementRequestsPermittedByPresentationWhileActive:(BOOL)a0; - (void)setCarDNDActive:(BOOL)a0; - (void)setWatchAuthenticated:(BOOL)a0; - (void)telephonyRequestCompleted; - (void)setAlertContext; - (void)setApplicationContext; - (void)stateFeedbackManagerDidStartPlaybackForStateFeedbackType:(long long)a0; - (void)didGainAttentionWithEvent:(long long)a0; - (void)didLoseAttentionWithEvent:(long long)a0; - (void)resetContextTypes:(long long)a0; - (void)setDeviceInStarkMode:(BOOL)a0; - (void)startRequestWithOptions:(id)a0; - (void)stopRequestWithOptions:(id)a0; - (id)initWithConnection:(id)a0 delegateQueue:(id)a1; - (void)notifyStateManagerSpeakingBegan; - (BOOL)speechRequestHandlerShouldRollBackRequestForSpeechCancellation:(id)a0; - (int)_mapEnhancedCarPlayTriggerMode:(long long)a0; - (id)_setRefIdForAllViewsInAddViews:(id)a0; - (void)_startSpeechPronunciationRequestWithContext:(id)a0 options:(id)a1 completion:(id /* block */)a2; - (void)notifyStateManagerSpeakingEnded; - (BOOL)_aceObjectExpectsTurnIdentifierWhenSendingCommand:(id)a0; - (void)_applePaySheetPresented; - (void)_discardConnectionForReason:(long long)a0; - (void)_handlePlayAudioCommand:(id)a0 completion:(id /* block */)a1; - (void)_handleRequestUpdateViewsCommand:(id)a0 completion:(id /* block */)a1; - (void)_handleSuppressDelayFeedbackCommand:(id)a0 completion:(id /* block */)a1; - (void)_handleUnlockDeviceCommand:(id)a0 completion:(id /* block */)a1; - (void)_handleUnlockDeviceWithWatchCommand:(id)a0 completion:(id /* block */)a1; - (id)_invocationContextFromTVRemoteType:(unsigned long long)a0; - (id)_invocationEventForRequestOptions:(id)a0 localDataSource:(id)a1; - (BOOL)_isContinuousConversationAvailable; - (int)_mapInvocationSource:(long long)a0; - (void)_performAceCommand:(id)a0 forRequestUpdateViewsCommand:(id)a1 afterDelay:(double)a2; - (void)_performAceCommand:(id)a0 turnIdentifier:(id)a1 machAbsoluteTime:(double)a2 conflictHandler:(id /* block */)a3; - (void)_performAceCommands:(id)a0; - (void)_performBlockWithDelegate:(id /* block */)a0; - (void)_performPunchoutCommand:(id)a0 delegate:(id)a1 completion:(id /* block */)a2; - (void)_populateModesConfiguration:(id)a0 attentionType:(unsigned long long)a1 value:(BOOL)a2; - (id)_preparedSpeechRequestWithRequestOptions:(id)a0; - (void)_requestDidFinishWithError:(id)a0; - (void)_sendContextWithCompletion:(id /* block */)a0; - (BOOL)_shouldFetchActiveAccount; - (void)_siriNetworkAvailabilityDidChange:(id)a0; - (void)_startContinuityRequestWithInfo:(id)a0 completion:(id /* block */)a1; - (void)_startLegacyDirectActionRequestWithInfo:(id)a0 context:(id)a1 completion:(id /* block */)a2; - (void)_startRequestForReadoutOfBulletin:(id)a0; - (void)_startRequestWithBlock:(id /* block */)a0; - (void)_startRequestWithFinalOptions:(id)a0 completion:(id /* block */)a1; - (void)_startRequestWithInfo:(id)a0 completion:(id /* block */)a1; - (void)_startRequestWithText:(id)a0 turnIdentifier:(id)a1 completion:(id /* block */)a2; - (void)_startSpeechRequestWithOptions:(id)a0 completion:(id /* block */)a1; - (void)_startSpeechRequestWithSpeechFileAtURL:(id)a0 completion:(id /* block */)a1; - (void)_startSpeechRequestWithSpeechRequestOptions:(id)a0 isInitialBringUp:(BOOL)a1 completion:(id /* block */)a2; - (id)_startingRecordingAlertPolicyForSoundID:(id)a0; - (void)_updateActiveAccount:(id)a0; - (void)_updateActiveAccount:(id)a0 withNumberOfActiveAccounts:(unsigned long long)a1; - (void)_updateAssistantVersion:(id)a0; - (void)_updateCarPlayInvocationContext:(id)a0 fromDirectActionEvent:(long long)a1 appBundleIdentifier:(id)a2; - (void)_updateModesConfigurationForAttentionType:(unsigned long long)a0 value:(BOOL)a1; - (void)_updateModesHeuristicsForRequestOptions:(id)a0; - (void)assistantConnection:(id)a0 didLoadAssistant:(id)a1; - (void)audioRoutePickerWillDismiss; - (void)audioRoutePickerWillShow; - (id)connectionForSpeechRequestHandler:(id)a0; - (void)duckTTSToVolume:(float)a0 rampTime:(double)a1 completion:(id /* block */)a2; - (void)endForReason:(long long)a0; - (void)fetchAttendingState:(id /* block */)a0; - (void)forceAudioSessionActiveWithCompletion:(id /* block */)a0; - (void)idleAndQuietStatusDidChange:(BOOL)a0; - (BOOL)isPreventingActivationGesture; - (void)launchedIntoListeningAtTime:(double)a0; - (void)notifyStateManagerPresentationTransitionBegan; - (void)notifyStateManagerPresentationTransitionEnded; - (void)notifyStateManagerTransactionBegan; - (void)notifyStateManagerTransactionEnded; - (void)performAceCommand:(id)a0 turnIdentifier:(id)a1 machAbsoluteTime:(double)a2; - (void)promptedUserForInput; - (void)recordMetricsContext:(id)a0 forDisambiguatedAppWIthBundleIdentifier:(id)a1; - (void)recordRequestMetricEvent:(id)a0 withTimestamp:(double)a1; - (float)recordingPowerLevel; - (void)requestDidPresentViewForErrorCommand:(id)a0; - (void)requestDidPresentViewForUICommand:(id)a0; - (void)resultDidChangeForAceCommand:(id)a0; - (void)resultDidChangeForAceCommand:(id)a0 completion:(id /* block */)a1; - (id /* block */)safeWrapResponseCompletion:(id /* block */)a0; - (void)sendContextForSpeechRequestContinuationWithCompletion:(id /* block */)a0; - (void)sessionStateHandler:(id)a0 didTransitionFromState:(long long)a1 toState:(long long)a2 forEvent:(long long)a3 machAbsoluteTime:(double)a4; - (void)setApplicationContextForDirectAction:(BOOL)a0; - (void)settingsConnectionDidChangeActiveAccount:(id)a0; - (void)showAssetsDownloadNotificationPrompt; - (void)siriUIDidPresentDynamicSnippetWithInfo:(id)a0; - (void)speechRequestHandlerDidCancelSpeechRequest:(id)a0; - (void)speechRequestHandlerWillCancelSpeechRequest:(id)a0; - (void)speechSynthesisDidFinish:(id)a0; - (void)speechSynthesisDidUpdatePowerLevelTo:(float)a0; - (void)startCorrectedRequestWithText:(id)a0 correctionIdentifier:(id)a1 userSelectionResults:(id)a2 turnIdentifier:(id)a3 machAbsoluteTime:(double)a4; - (void)startRequestWithOptions:(id)a0 completion:(id /* block */)a1; - (void)stopAttending; - (void)stopRecordingSpeech; - (void)updateRequestOptions:(id)a0; @end