Objective-CclassHealthHearingDaemon
HDHeadphoneDoseManager
@interface HDHeadphoneDoseManager : NSObject <HDProfileReadyObserver, HDDatabaseProtectedDataObserver, HDDataObserver, HDQuantitySeriesObserver, HDHeadphoneExposureNotificationSyncObserver>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolHDProfileReadyObserver
- protocolHDDatabaseProtectedDataObserver
- protocolHDDataObserver
- protocolHDQuantitySeriesObserver
Members 86
- ivar
HDDataCollectionAssertion *_collectionAssertion;+0x50 - ivar
double _dose;+0x10 - ivar
BOOL _enabled;+0x28 - ivar
HDHeadphoneDoseMetadataStore *_keyValueStore;+0x30 - ivar
NSDate *_lastLockDateForAnalytics;+0x60 - ivar
BOOL _lastUpdateSuppressedUserNotification;+0x58 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x18 - ivar
HDHeadphoneExposureNotificationCenter *_notificationCenter;+0x38 - ivar
HDHeadphoneExposureNotificationSyncManager *_notificationSyncManager;+0x40 - ivar
HDProfile *_profile;+0x8 - ivar
NSObject<OS_dispatch_queue> *_queue;+0x20 - ivar
HDHeadphoneAudioExposureStatisticsCalculator *_statisticsCalculator;+0x48 - ivar
id /* block */ _unitTesting_didFinishResetDosageToFireDate;+0x90 - ivar
id /* block */ _unitTesting_didNotifyUser;+0x80 - ivar
id /* block */ _unitTesting_didObserveProtectedDataHandler;+0x78 - ivar
id /* block */ _unitTesting_didUpdateHandler;+0x70 - ivar
id /* block */ _unitTesting_profileDidBecomeReadyHandler;+0x68 - ivar
id /* block */ _unitTesting_protectedDataDidBecomeAvailable;+0x88 - ivar
id /* block */ _unitTesting_updateCurrentDoseNowDateProvider;+0x98 - method
- (void).cxx_destruct; - method
- (id)_fetchDoseLimitInfoWithError:(id *)arg0; - method
- (void)_handleSignificantTimeChangeNotification:(id)arg0; - method
- (void)_headphoneExposureNotificationsEnabledDidChange:(id)arg0; - method
- (id)_infoDictWithError:(id *)arg0; - method
- (id)_infoWithError:(id *)arg0; - method
- (id)_initWithProfile:(id)arg0 keyValueStore:(id)arg1 calculator:(id)arg2; - method
- (id)_initWithProfile:(id)arg0 keyValueStore:(id)arg1 calculator:(id)arg2 unitTesting_didUpdateHandler:(id /* block */)arg3; - method
- (id)_initWithProfile:(id)arg0 keyValueStore:(id)arg1 calculator:(id)arg2 unitTesting_profileDidBecomeReadyHandler:(id /* block */)arg3 unitTesting_didObserveProtectedDataHandler:(id /* block */)arg4 unitTesting_didUpdateHandler:(id /* block */)arg5; - method
- (id)_lock_pruneWithNowDate:(id)arg0 limit:(unsigned long long)arg1 error:(id *)arg2; - method
- (BOOL)_lock_rebuildWithAssertion:(id)arg0 error:(id *)arg1; - method
- (BOOL)_lock_rebuildWithAssertion:(id)arg0 resetSyncNotification:(BOOL)arg1 error:(id *)arg2; - method
- (void)_lock_setCollectionAssertion:(id)arg0; - method
- (void)_lock_updateCollectionAssertionForDoseAccumulated:(double)arg0; - method
- (BOOL)_lock_updateCurrentDoseUsingStatisticsResult:(id)arg0 assertion:(id)arg1 error:(id *)arg2; - method
- (void)_lock_updateIsEnabledForInitialSetup:(BOOL)arg0 assertion:(id)arg1; - method
- (void)_lock_updateWithNotifications:(id)arg0 journaled:(BOOL)arg1 assertion:(id)arg2; - method
- (void)_lock_updateWithRemoteNotificationDismissalDate:(id)arg0 assertion:(id)arg1; - method
- (BOOL)_overrideDoseLimit:(id)arg0 error:(id *)arg1; - method
- (id)_pruneWithNowDate:(id)arg0 limit:(unsigned long long)arg1 error:(id *)arg2; - method
- (BOOL)_rebuildWithError:(id *)arg0; - method
- (void)_registerForSignificantTimeChangeNotification; - method
- (void)_reportSyncedHeadphoneNotificationSamples:(id)arg0 journaled:(BOOL)arg1 nowDate:(id)arg2; - method
- (id)_takeAccessibilityAssertion; - method
- (void)_unregisterForSignificantTimeChangeNotification; - method
- (void)_updateCurrentDoseFromResult:(id)arg0 context:(id)arg1 sampleCount:(unsigned long long)arg2 assertion:(id)arg3; - method
- (void)_updateWithRemoteNotificationDismissalDate:(id)arg0 assertion:(id)arg1; - method
- (void)database:(id)arg0 protectedDataDidBecomeAvailable:(BOOL)arg1; - method
- (void)dealloc; - method
- (void)didReceiveResetDosageToFireDate:(id)arg0; - method
- (id)initWithProfile:(id)arg0; - method
- (void)profile:(id)arg0 didDiscardSeriesOfType:(id)arg1; - method
- (void)profileDidBecomeReady:(id)arg0; - method
- (void)samplesAdded:(id)arg0 anchor:(id)arg1; - method
- (void)samplesJournaled:(id)arg0 type:(id)arg1; - method
- (void)samplesOfTypesWereRemoved:(id)arg0 anchor:(id)arg1; - method
- (void)setUnitTesting_didFinishResetDosageToFireDate:(id /* block */)arg0; - method
- (void)setUnitTesting_didNotifyUser:(id /* block */)arg0; - method
- (void)setUnitTesting_didObserveProtectedDataHandler:(id /* block */)arg0; - method
- (void)setUnitTesting_didUpdateHandler:(id /* block */)arg0; - method
- (void)setUnitTesting_profileDidBecomeReadyHandler:(id /* block */)arg0; - method
- (void)setUnitTesting_protectedDataDidBecomeAvailable:(id /* block */)arg0; - method
- (void)setUnitTesting_updateCurrentDoseNowDateProvider:(id /* block */)arg0; - method
- (id /* block */)transactionalQuantityInsertHandlerForProfile:(id)arg0 journaled:(BOOL)arg1 count:(long long)arg2; - method
- (id)unitTesting_calculator; - method
- (id /* block */)unitTesting_didFinishResetDosageToFireDate; - method
- (id /* block */)unitTesting_didNotifyUser; - method
- (id /* block */)unitTesting_didObserveProtectedDataHandler; - method
- (void)unitTesting_didReceiveResetDosageToFireDate:(id)arg0; - method
- (id /* block */)unitTesting_didUpdateHandler; - method
- (id)unitTesting_keyValueStore; - method
- (id /* block */)unitTesting_profileDidBecomeReadyHandler; - method
- (id /* block */)unitTesting_protectedDataDidBecomeAvailable; - method
- (id /* block */)unitTesting_updateCurrentDoseNowDateProvider; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) Class superclass; - property
@property(readonly, nonatomic) HDHeadphoneAudioExposureStatisticsCalculator *unitTesting_calculator; - property
@property(copy, nonatomic) id /* block */ unitTesting_didFinishResetDosageToFireDate; - property
@property(copy, nonatomic) id /* block */ unitTesting_didNotifyUser; - property
@property(copy, nonatomic) id /* block */ unitTesting_didObserveProtectedDataHandler; - property
@property(copy, nonatomic) id /* block */ unitTesting_didUpdateHandler; - property
@property(readonly, nonatomic) HDHeadphoneDoseMetadataStore *unitTesting_keyValueStore; - property
@property(copy, nonatomic) id /* block */ unitTesting_profileDidBecomeReadyHandler; - property
@property(copy, nonatomic) id /* block */ unitTesting_protectedDataDidBecomeAvailable; - property
@property(copy, nonatomic) id /* block */ unitTesting_updateCurrentDoseNowDateProvider;
Header
@interface HDHeadphoneDoseManager : NSObject <HDProfileReadyObserver, HDDatabaseProtectedDataObserver, HDDataObserver, HDQuantitySeriesObserver, HDHeadphoneExposureNotificationSyncObserver> { HDProfile *_profile; double _dose; struct os_unfair_lock_s _lock; NSObject<OS_dispatch_queue> *_queue; BOOL _enabled; HDHeadphoneDoseMetadataStore *_keyValueStore; HDHeadphoneExposureNotificationCenter *_notificationCenter; HDHeadphoneExposureNotificationSyncManager *_notificationSyncManager; HDHeadphoneAudioExposureStatisticsCalculator *_statisticsCalculator; HDDataCollectionAssertion *_collectionAssertion; BOOL _lastUpdateSuppressedUserNotification; NSDate *_lastLockDateForAnalytics; id /* block */ _unitTesting_profileDidBecomeReadyHandler; id /* block */ _unitTesting_didUpdateHandler; id /* block */ _unitTesting_didObserveProtectedDataHandler; id /* block */ _unitTesting_didNotifyUser; id /* block */ _unitTesting_protectedDataDidBecomeAvailable; id /* block */ _unitTesting_didFinishResetDosageToFireDate; id /* block */ _unitTesting_updateCurrentDoseNowDateProvider; } @property (nonatomic, copy) id /* block */ unitTesting_profileDidBecomeReadyHandler; @property (nonatomic, copy) id /* block */ unitTesting_didUpdateHandler; @property (nonatomic, copy) id /* block */ unitTesting_didObserveProtectedDataHandler; @property (nonatomic, copy) id /* block */ unitTesting_didNotifyUser; @property (nonatomic, copy) id /* block */ unitTesting_protectedDataDidBecomeAvailable; @property (nonatomic, copy) id /* block */ unitTesting_didFinishResetDosageToFireDate; @property (nonatomic, copy) id /* block */ unitTesting_updateCurrentDoseNowDateProvider; @property (nonatomic, readonly) HDHeadphoneAudioExposureStatisticsCalculator *unitTesting_calculator; @property (nonatomic, readonly) HDHeadphoneDoseMetadataStore *unitTesting_keyValueStore; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; - (id)initWithProfile:(id)profile; - (void)profileDidBecomeReady:(id)profileDidBecomeReady; - (void)samplesAdded:(id)samplesAdded anchor:(id)anchor; - (id /* block */)transactionalQuantityInsertHandlerForProfile:(id)profile journaled:(BOOL)journaled count:(long long)count; - (BOOL)_overrideDoseLimit:(id)_overrideDoseLimit error:(id *)error; - (void).cxx_destruct; - (void)dealloc; - (void)samplesOfTypesWereRemoved:(id)typesWereRemoved anchor:(id)anchor; - (id)_fetchDoseLimitInfoWithError:(id *)error; - (void)profile:(id)profile didDiscardSeriesOfType:(id)type; - (void)database:(id)database protectedDataDidBecomeAvailable:(BOOL)protectedDataDidBecomeAvailable; - (id)_takeAccessibilityAssertion; - (void)_registerForSignificantTimeChangeNotification; - (void)_unregisterForSignificantTimeChangeNotification; - (void)samplesJournaled:(id)samplesJournaled type:(id)type; - (void)_handleSignificantTimeChangeNotification:(id)_handleSignificantTimeChangeNotification; - (id)_infoWithError:(id *)error; - (void)_headphoneExposureNotificationsEnabledDidChange:(id)_headphoneExposureNotificationsEnabledDidChange; - (id)_infoDictWithError:(id *)error; - (id)_initWithProfile:(id)profile keyValueStore:(id)keyValueStore calculator:(id)calculator; - (id)_initWithProfile:(id)profile keyValueStore:(id)keyValueStore calculator:(id)calculator unitTesting_didUpdateHandler:(id /* block */)unitTesting_didUpdateHandler; - (id)_initWithProfile:(id)profile keyValueStore:(id)keyValueStore calculator:(id)calculator unitTesting_profileDidBecomeReadyHandler:(id /* block */)unitTesting_profileDidBecomeReadyHandler unitTesting_didObserveProtectedDataHandler:(id /* block */)unitTesting_didObserveProtectedDataHandler unitTesting_didUpdateHandler:(id /* block */)unitTesting_didUpdateHandler; - (id)_lock_pruneWithNowDate:(id)nowDate limit:(unsigned long long)limit error:(id *)error; - (BOOL)_lock_rebuildWithAssertion:(id)assertion error:(id *)error; - (BOOL)_lock_rebuildWithAssertion:(id)assertion resetSyncNotification:(BOOL)resetSyncNotification error:(id *)error; - (void)_lock_setCollectionAssertion:(id)_lock_setCollectionAssertion; - (void)_lock_updateCollectionAssertionForDoseAccumulated:(double)doseAccumulated; - (BOOL)_lock_updateCurrentDoseUsingStatisticsResult:(id)statisticsResult assertion:(id)assertion error:(id *)error; - (void)_lock_updateIsEnabledForInitialSetup:(BOOL)initialSetup assertion:(id)assertion; - (void)_lock_updateWithNotifications:(id)notifications journaled:(BOOL)journaled assertion:(id)assertion; - (void)_lock_updateWithRemoteNotificationDismissalDate:(id)remoteNotificationDismissalDate assertion:(id)assertion; - (id)_pruneWithNowDate:(id)nowDate limit:(unsigned long long)limit error:(id *)error; - (BOOL)_rebuildWithError:(id *)error; - (void)_reportSyncedHeadphoneNotificationSamples:(id)_reportSyncedHeadphoneNotificationSamples journaled:(BOOL)journaled nowDate:(id)nowDate; - (void)_updateCurrentDoseFromResult:(id)result context:(id)context sampleCount:(unsigned long long)sampleCount assertion:(id)assertion; - (void)_updateWithRemoteNotificationDismissalDate:(id)remoteNotificationDismissalDate assertion:(id)assertion; - (void)didReceiveResetDosageToFireDate:(id)fireDate; - (void)setUnitTesting_didFinishResetDosageToFireDate:(id /* block */)fireDate; - (void)setUnitTesting_didNotifyUser:(id /* block */)unitTesting_didNotifyUser; - (void)setUnitTesting_didObserveProtectedDataHandler:(id /* block */)unitTesting_didObserveProtectedDataHandler; - (void)setUnitTesting_didUpdateHandler:(id /* block */)unitTesting_didUpdateHandler; - (void)setUnitTesting_profileDidBecomeReadyHandler:(id /* block */)unitTesting_profileDidBecomeReadyHandler; - (void)setUnitTesting_protectedDataDidBecomeAvailable:(id /* block */)unitTesting_protectedDataDidBecomeAvailable; - (void)setUnitTesting_updateCurrentDoseNowDateProvider:(id /* block */)unitTesting_updateCurrentDoseNowDateProvider; - (id)unitTesting_calculator; - (id /* block */)unitTesting_didFinishResetDosageToFireDate; - (id /* block */)unitTesting_didNotifyUser; - (id /* block */)unitTesting_didObserveProtectedDataHandler; - (void)unitTesting_didReceiveResetDosageToFireDate:(id)fireDate; - (id /* block */)unitTesting_didUpdateHandler; - (id)unitTesting_keyValueStore; - (id /* block */)unitTesting_profileDidBecomeReadyHandler; - (id /* block */)unitTesting_protectedDataDidBecomeAvailable; - (id /* block */)unitTesting_updateCurrentDoseNowDateProvider; @end