luxlabs header browser preview


@class NSString, AFNotifyStatePublisher, NSDateFormatter, AFWatchdogTimer, AFMyriadAdvertisementContextManager, NSMutableDictionary, AFPowerAssertionManager, AFMyriadRecord, AFMyriadEmergencyCallPunchout, AFMyriadContext, NSObject, AFMyriadSession, AFMyriadAdvertisementContextRecord, NSData, AFMyriadInstrumentation, WPHeySiri, AFMyriadPreferences, SFDiagnostics, NSUUID, NSDate, AFNotifyObserver, AFMyriadGoodnessScoreEvaluator;
@protocol OS_dispatch_queue, OS_dispatch_source, AFArbitrationEventUpdatesDelegate;

@interface AFMyriadCoordinator : NSObject <AFNotifyObserverDelegate, WPHeySiriProtocol> {
    unsigned long long _myriadState;
    unsigned long long _nextState;
    unsigned long long _previousState;
    NSData *_previousAdvertisedData;
    NSMutableDictionary *_replies;
    NSMutableDictionary *_replyCounts;
    NSMutableDictionary *_repliesBeforeDecision;
    NSMutableDictionary *_previousTrumps;
    NSMutableDictionary *_incomingTrumps;
    NSMutableDictionary *_multipleContinuations;
    id _delegate;
    NSString *_deviceClassName;
    unsigned char _deviceClass;
    unsigned char _productType;
    NSString *_productTypeName;
    int _deviceAdjust;
    double _deviceDelay;
    double _deviceTrumpDelay;
    double _deviceVTEndtimeDistanceThreshold;
    double _deviceInEarDelay;
    double _deviceInEarInterval;
    unsigned char _deviceGroup;
    NSObject<OS_dispatch_queue> *_myriadWorkQueue;
    NSObject<OS_dispatch_queue> *_myriadAdvertisementContextQueue;
    NSString *_timerLabel;
    NSObject<OS_dispatch_source> *_timer;
    NSUUID *_eventToken;
    AFWatchdogTimer *_overallTimeout;
    AFPowerAssertionManager *_powerAssertionManager;
    struct __CFNotificationCenter { } *_center;
    AFMyriadRecord *_triggerRecord;
    long long _recordType;
    unsigned long long _voiceTriggerTime;
    float _delayTarget;
    float _advertInterval;
    int _nTimesContinued;
    int _nTimesExtended;
    unsigned char _incomingAdjustment;
    AFMyriadRecord *_overrideMyriadRecord;
    int _slowdownMsecs;
    int _testInducedSlowdownMsecs;
    AFMyriadRecord *_maxSlowdownRecord;
    BOOL _BTLEReady;
    BOOL _inTask;
    BOOL _inSetupMode;
    BOOL _ducking;
    BOOL _stateMachineEncounteredError;
    BOOL _listenTimerIsRunning;
    BOOL _coordinationEnabled;
    BOOL _BLEActivityEnabled;
    BOOL _clientIsDirectActivating;
    BOOL _clientIsInEarActivation;
    BOOL _clientRecentlyLostElection;
    BOOL _clientLostDueToTrumping;
    BOOL _clientIsListeningAfterRecentWin;
    BOOL _clientIsWatchActivation;
    BOOL _clientIsWatchTrumpPromote;
    BOOL _clientIsRespondingToSlowdown;
    BOOL _clientDoneRespondingToSlowdown;
    BOOL _clientRespondingToCarPlay;
    BOOL _clientIsDeciding;
    int _constantGoodness;
    NSObject<OS_dispatch_source> *_timerSource;
    NSDateFormatter *_dateFormat;
    WPHeySiri *_heySiriBTLE;
    NSUUID *_designatedSelfID;
    NSDate *_triggerTime;
    int _nDeltaTs;
    AFMyriadEmergencyCallPunchout *_callPunchout;
    unsigned long long _lastDecisionTime;
    BOOL _lastDecision;
    unsigned short _lastPHash;
    double _lastEmergencyAttempt;
    BOOL _wasEmergency;
    BOOL _suppressLateTrigger;
    BOOL _ignoreInTaskTimer;
    SFDiagnostics *_sfdiagnostics;
    AFWatchdogTimer *_sfDiagnosticsTimer;
    struct { BOOL didRequestForBTLEScan; BOOL didRequestForBTLEAdvertisement; } _heySiriBTLEState;
    struct { NSObject<OS_dispatch_source> *waitTimer; id /* block */ waitBlock; BOOL isWaitTimerSuspended; } _wiproxReadinessTimer;
    struct { NSDate *advertTriggerAdvStartTime; NSDate *advertTriggerEndTime; } _advTiming;
    AFMyriadAdvertisementContextManager *_advContextManager;
    AFMyriadAdvertisementContextRecord *_contextRecord;
    AFMyriadGoodnessScoreEvaluator *_goodnessScoreEvaluator;
    AFMyriadSession *_myriadSession;
    AFNotifyStatePublisher *_electionBeginPublisher;
    AFNotifyStatePublisher *_electionWinPublisher;
    AFNotifyStatePublisher *_electionLossPublisher;
    AFNotifyStatePublisher *_electionRepostWinDecisionPublisher;
    AFNotifyObserver *_preferencesChangedNotification;
    AFNotifyObserver *_myriadStateMachineForceNoActivityObserver;
    unsigned long long _electionPublisherState;
    AFMyriadPreferences *_preferences;
    id /* block */ _waitForWiproxReadinessToScan;
    unsigned long long _latestRecordReceivedTime;
    AFMyriadContext *_currentMyriadContext;
    AFMyriadInstrumentation *_myriadInstrumentation;
    NSUUID *_currentRequestId;
    NSDate *_lastWonBySmallAmountDate;
    id<AFArbitrationEventUpdatesDelegate> _arbitrationEventsDelegate;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (void)clearCurrentCoordinator;
+ (id)currentCoordinator;
+ (void)didChangeDefaults;

- (id)_stateAsString;
- (void)_loseElection;
- (void)startAdvertisingFromAlertFiringVoiceTrigger;
- (void)_setMyriadContext:(id)a0;
- (void)_cancelTimer;
- (void)notifyObserver:(id)a0 didReceiveNotificationWithToken:(int)a1;
- (void)_resumeWiProxReadinessTimer;
- (void)heySiriStartedScanning:(id)a0;
- (void)notifyCurrentDecisionResult;
- (void)_stopListening:(id /* block */)a0;
- (id)_endAdvertisingAnalyticsContext:(BOOL)a0;
- (id)continuationRecord;
- (id)voiceTriggerRecord;
- (BOOL)_shouldHandleEmergency;
- (BOOL)_deviceShouldContinue:(id)a0;
- (void)_advertise:(id)a0 andMoveTo:(unsigned long long)a1;
- (id)_myriadSession;
- (void)dealloc;
- (void)_enteringIntoState:(unsigned long long)a0 fromState:(unsigned long long)a1;
- (void)startAdvertisingFromInTaskTriggerWithContext:(id)a0;
- (void)readDefaults;
- (void)_startAdvertisingFromInTaskVoiceTrigger;
- (void)advertiseWith:(id)a0 afterDelay:(float)a1 maxInterval:(float)a2;
- (void)advertiseWith:(id)a0;
- (void)heySiriStartedAdvertising:(id)a0;
- (void)setupEnabled:(BOOL)a0;
- (void)startListening:(id /* block */)a0;
- (void)_stopAdvertising:(id /* block */)a0;
- (id)_testAndFilterAdvertisementsFromContextCollector:(id)a0 voiceTriggerEndTime:(double)a1 advertisementDispatchTime:(double)a2 advertisement:(id)a3;
- (id)slowdownRecord:(unsigned short)a0;
- (void)setupActionWindows;
- (float)deviceTrumpDelay;
- (void)startAdvertisingFromDirectTrigger;
- (id)stateAsString:(unsigned long long)a0;
- (void)_advertiseSlowdown;
- (void)_pushMyriadAdvertisementContextToContextCollectorWithAdvertisementInterval:(double)a0 advertisementDelay:(double)a1;
- (void)startAdvertisingFromInTaskVoiceTriggerWithContext:(id)a0;
- (void)_startListenTimer;
- (void)startAdvertisingSlowdown:(unsigned short)a0;
- (double)_contextFetchDelayForAdvertimentInterval:(double)a0 advertisementDelay:(double)a1;
- (void)_enterBLEDiagnosticMode;
- (void)startAdvertisingFromDirectTriggerWithContext:(id)a0;
- (void)_duringNextWindowExecute:(id /* block */)a0;
- (void)_startTimer:(id)a0 for:(float)a1 thenExecute:(id /* block */)a2;
- (void)_endAdvertising:(id /* block */)a0;
- (unsigned char)deviceClass;
- (void)_resetActionWindows;
- (void)resetReplies;
- (void)_leaveBLEDiagnosticMode;
- (id)emptyRecord;
- (void)startAdvertisingEmergencySignal;
- (void)_createMyriadSessionIfRequired;
- (void)endAdvertisingWithDeviceProhibitions:(id)a0;
- (void)_resetAdvertisementTimings;
- (void)waitWiProx:(long long)a0 andExecute:(id /* block */)a1;
- (void)_signalEmergencyCallHandled;
- (void)startAdvertisingFromCarPlayTrigger;
- (void)_createDispatchTimerForEvent:(id)a0 toExecute:(id /* block */)a1;
- (BOOL)_inTaskTriggerWasTooSoon;
- (void)_triggerABCForType:(id)a0 context:(id)a1;
- (id)emergencyRecord;
- (void)resetStateMachine;
- (void)faceDetectedBoostWithMyriadContext:(id)a0;
- (BOOL)_shouldStopListeningBeforeAdvertising;
- (void)startAdvertisingFromOutgoingTrigger;
- (unsigned char)deviceGroup;
- (void)_handleStateMachineErrorIfNeeded;
- (id)lateSuppressionRecord;
- (void)startAdvertisingFromAlertFiringVoiceTriggerWithContext:(id)a0;
- (void)startListening;
- (void)heySiriStartedAdvertisingAt:(id)a0 timeStamp:(unsigned long long)a1;
- (void)startListeningToEmergencySignal;
- (void)_updateArbitrationParticipationContextWithCompletion:(id /* block */)a0;
- (void)_clearMyriadSession;
- (void)myriadSession:(id /* block */)a0;
- (void)startWatchAdvertisingFromDirectTrigger;
- (void)_adjustActionWindowsFromSlowdown:(int)a0;
- (void)_createDispatchTimerWithTime:(unsigned long long)a0 toExecute:(id /* block */)a1;
- (void)requestWillPresentUsefulUserResult;
- (BOOL)_shouldUseContextCollector;
- (void)_setupActionWindows;
- (void)_forceLocalWinner:(id)a0;
- (void)_advertiseWith:(id)a0 afterDelay:(float)a1 maxInterval:(float)a2 thenExecute:(id /* block */)a3;
- (void)_duringNextWindowEnterState:(unsigned long long)a0;
- (void)_waitWiProxAndExecute:(id /* block */)a0;
- (void)_updateRepliesWith:(id)a0 id:(id)a1 data:(id)a2;
- (void)_stopAdvertisingAndListening;
- (void)heySiri:(id)a0 failedToStartScanningWithError:(id)a1;
- (void)_advertiseTrigger;
- (BOOL)inTask;
- (id)_phsSetupRecord;
- (void)_startTimer:(id)a0 for:(float)a1 thenEnterState:(unsigned long long)a2;
- (void)_enterState:(unsigned long long)a0;
- (void)endAdvertising:(id /* block */)a0;
- (void)startAdvertisingFromVoiceTrigger;
- (void)updateRepliesWith:(id)a0 id:(id)a1 data:(id)a2;
- (void)startAdvertisingFromInTaskVoiceTrigger;
- (void)heySiri:(id)a0 failedToStartAdvertisingWithError:(id)a1;
- (void)enterState:(unsigned long long)a0;
- (void)_advertiseIndefinite:(id)a0;
- (void)startAdvertisingFromVoiceTriggerWithGoodnessScoreContext:(id)a0 withContext:(id)a1;
- (void)endAdvertisingAfterDelay:(float)a0;
- (void)startResponseAdvertising:(unsigned short)a0;
- (void).cxx_destruct;
- (void)_initializeTimer;
- (void)endTask;
- (void)_addElectionAdvertisementDataToMyriadSession:(id)a0;
- (void)_ageWedgeFilter;
- (void)_trackHeySiriStartedAdvertisingAt:(unsigned long long)a0;
- (void)startAdvertisingFromVoiceTriggerWithContext:(id)a0;
- (void)_endAdvertisingWithDeviceProhibitions:(id)a0;
- (void)startAdvertisingFromInEarTrigger;
- (void)startAdvertisingFromVoiceTriggerAdjusted:(char)a0 withContext:(id)a1;
- (BOOL)_okayToSuppressOnOutput;
- (void)injectAdvertisementForTesting:(id)a0 forDevice:(id)a1;
- (BOOL)_testAndUpdateWedgeFilter:(id)a0;
- (void)_setOverallTimeout;
- (void)heySiriStoppedScanning:(id)a0;
- (id)initWithDelegate:(id)a0;
- (void)startAdvertising:(id)a0 afterDelay:(float)a1 maxInterval:(float)a2;
- (void)stopListening:(id /* block */)a0;
- (void)preheatWiProx;
- (id)_sortedReplies:(id)a0;
- (void)heySiriDidUpdateState:(id)a0;
- (void)heySiriStoppedAdvertising:(id)a0;
- (void)startAdvertisingEmergency;
- (void)_initDeviceClassAndAdjustments;
- (id)_stateAsString:(unsigned long long)a0;
- (void)_advertiseSuppressTriggerInOutput;
- (void)resetMyriadCoordinator:(id /* block */)a0;
- (void)startAdvertisingFromVoiceTriggerAdjusted:(char)a0;
- (void)_cancelOverallTimeout;
- (void)_clearWiProxReadinessTimer;
- (void)setInTask:(BOOL)a0;
- (void)startAdvertisingEmergencyHandled;
- (void)startWatchAdvertisingFromVoiceTrigger;
- (void)_advertise:(id)a0 afterDelay:(float)a1 maxInterval:(float)a2 andMoveTo:(unsigned long long)a3;
- (id)directTriggerRecord;
- (id)_sortedReplies;
- (void)_createDispatchTimerFor:(double)a0 toExecute:(id /* block */)a1;
- (id)_triggerTypeForArbitrationParticipationFrom:(long long)a0;
- (void)_resetAudioData;
- (void)updateRequestId:(id)a0;
- (void)instrumentationUpdateBoost:(unsigned char)a0 value:(unsigned int)a1;
- (void)heySiriAdvertisingPending:(id)a0;
- (void)_startListening:(id /* block */)a0;
- (id)responseObject:(unsigned short)a0;
- (void)_updateVoiceTriggerTimeFromFile;
- (void)startAdvertisingForPHSSetupAfterDelay:(float)a0 maxInterval:(float)a1;
- (void)_waitWiProx:(long long)a0 andExecute:(id /* block */)a1;
- (void)_initializeWiProxReadinessTimer;
- (BOOL)_shouldContinueFor:(id)a0;
- (void)_suspendWiProxReadinessTimer;
- (void)startAdvertisingFromOutgoingTriggerWithContext:(id)a0;
- (void)_readDefaults;
- (void)_unduck;
- (void)startWatchAdvertisingFromVoiceTriggerWithContext:(id)a0;
- (void)_startAdvertisingFromVoiceTrigger;
- (int)_myriadStateForSelf:(unsigned long long)a0;
- (unsigned long long)_nextElectionPublisherState;
- (void)_winElection;
- (id)emergencyHandledRecord;
- (void)_startListeningAfterWiProxIsReady:(BOOL)a0 inState:(unsigned long long)a1 completion:(id /* block */)a2;
- (void)heySiri:(id)a0 foundDevice:(id)a1 withInfo:(id)a2;
- (void)startWatchAdvertisingFromDirectTriggerWithContext:(id)a0;
- (void)_createWaitWiProxTimer:(long long)a0 waitBlock:(id /* block */)a1;
- (void)_startAdvertising:(id)a0 afterDelay:(float)a1 maxInterval:(float)a2;
- (void)stopListening;
- (void)setCurrentRequestId:(id)a0;
- (BOOL)_isAPhone:(unsigned char)a0;
- (void)setupAdvIntervalsInDelay:(float *)a0 interval:(float *)a1 withSlowdown:(int)a2;
- (void)_suppressDeviceIfNeededWithVoiceTriggerEndTime:(double)a0 adverisementDispatchTime:(double)a1;

@end