Objective-CclassHealthDaemon
HDNanoSyncManager
@interface HDNanoSyncManager : NSObject <HDDiagnosticObject, HDProfileReadyObserver, HDNanoSyncStoreDelegate, HDSyncSessionDelegate, HDDatabaseProtectedDataObserver, HDDataObserver, HDIDSMessageCenterDelegate, HDForegroundClientProcessObserver>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolHDDiagnosticObject
- protocolHDProfileReadyObserver
- protocolHDNanoSyncStoreDelegate
- protocolHDSyncSessionDelegate
- protocolHDDatabaseProtectedDataObserver
- protocolHDDataObserver
- protocolHDIDSMessageCenterDelegate
Members 115
- ivar
HDNanoSyncStore *_activeSyncStore;+0x60 - ivar
HDNanoSyncStore *_activeTinkerSyncStore;+0x68 - ivar
id <_CDLocalContext> _context;+0x10 - ivar
BOOL _enablePeriodicSyncTimer;+0x19 - ivar
_Atomic BOOL _invalidated;+0x9 - ivar
BOOL _isMaster;+0x8 - ivar
NSDate *_lastPeriodicSyncDate;+0x90 - ivar
HDIDSMessageCenter *_messageCenter;+0x48 - ivar
HDKeyValueDomain *_nanoSyncDomain;+0x58 - ivar
HKObserverSet *_observers;+0x50 - ivar
NSArray *_pairedDevices;+0x80 - ivar
HKNanoSyncPairedDevicesSnapshot *_pairedDevicesSnapshot;+0x28 - ivar
HDPairedSyncManager *_pairedSyncManager;+0xa0 - ivar
NSObject<OS_dispatch_source> *_periodicSyncTimer;+0x88 - ivar
HDProfile *_profile;+0x30 - ivar
NSObject<OS_dispatch_queue> *_queue;+0x38 - ivar
double _restoreTimeout;+0x98 - ivar
NSObject<OS_dispatch_queue> *_syncQueue;+0x40 - ivar
NSMutableDictionary *_syncStoresByDeviceIdentifier;+0x78 - ivar
int _tinkerOptInAcceptedToken;+0x1c - ivar
int _tinkerOptInDeclinedToken;+0x20 - ivar
NSMutableArray *_tinkerOptInResponseBlocks;+0x70 - ivar
BOOL _waitingForFirstUnlock;+0x18 - method
- (void).cxx_destruct; - method
- (void)_deviceDidBecomeActive:(id)arg0; - method
- (void)_deviceDidPair:(id)arg0; - method
- (void)_deviceDidUnpair:(id)arg0; - method
- (void)_scheduleResetReceivedNanoSyncAnchorsForHFD; - method
- (void)_userCharacteristicsDidChange:(id)arg0; - method
- (void)_userPreferencesDidChange:(id)arg0; - method
- (void)_watchOffWristNotification:(id)arg0; - method
- (void)_workoutSamplesWereAssociated:(id)arg0; - method
- (void)addObserver:(id)arg0; - method
- (void)database:(id)arg0 protectedDataDidBecomeAvailable:(BOOL)arg1; - method
- (void)dealloc; - method
- (id)diagnosticDescription; - method
- (BOOL)enablePeriodicSyncTimer; - method
- (void)foregroundClientProcessesDidChange:(id)arg0 previouslyForegroundBundleIdentifiers:(id)arg1; - method
- (void)getPairedWatchWorkoutState:(id /* block */)arg0; - method
- (id)initWithProfile:(id)arg0 isMaster:(BOOL)arg1; - method
- (void)initializeMessageCenterIfNeeded; - method
- (void)invalidateAndWait; - method
- (BOOL)isMaster; - method
- (void)messageCenter:(id)arg0 activeDeviceDidChange:(id)arg1 acknowledgementHandler:(id /* block */)arg2; - method
- (void)messageCenter:(id)arg0 didResolveIDSIdentifierForRequest:(id)arg1; - method
- (void)messageCenter:(id)arg0 didResolveIDSIdentifierForResponse:(id)arg1; - method
- (void)messageCenterChangesError:(id)arg0; - method
- (void)messageCenterDidReceiveAuthorizationCompleteRequest:(id)arg0; - method
- (void)messageCenterDidReceiveAuthorizationError:(id)arg0; - method
- (void)messageCenterDidReceiveAuthorizationRequest:(id)arg0; - method
- (void)messageCenterDidReceiveAuthorizationResponse:(id)arg0; - method
- (void)messageCenterDidReceiveChangesRequest:(id)arg0; - method
- (void)messageCenterDidReceiveChangesResponse:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionUserNotificationError:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionUserNotificationRequest:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionUserNotificationResponse:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionWorkoutStateError:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionWorkoutStateRequest:(id)arg0; - method
- (void)messageCenterDidReceiveCompanionWorkoutStateResponse:(id)arg0; - method
- (void)messageCenterDidReceiveNotificationInstructionRequest:(id)arg0; - method
- (void)messageCenterDidReceiveRestoreRequest:(id)arg0; - method
- (void)messageCenterDidReceiveRestoreResponse:(id)arg0; - method
- (void)messageCenterDidReceiveRoutineRequest:(id)arg0; - method
- (void)messageCenterDidReceiveStartWorkoutAppError:(id)arg0; - method
- (void)messageCenterDidReceiveStartWorkoutAppRequest:(id)arg0; - method
- (void)messageCenterDidReceiveStartWorkoutAppResponse:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerEndToEndCloudSyncError:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerEndToEndCloudSyncRequest:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerEndToEndCloudSyncResponse:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerOptInError:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerOptInRequest:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerOptInResponse:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerPairingError:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerPairingRequest:(id)arg0; - method
- (void)messageCenterDidReceiveTinkerPairingResponse:(id)arg0; - method
- (void)messageCenterRestoreError:(id)arg0; - method
- (void)nanoSyncStore:(id)arg0 deviceNameDidChange:(id)arg1; - method
- (void)nanoSyncStore:(id)arg0 remoteSystemBuildVersionDidChange:(id)arg1; - method
- (void)nanoSyncStore:(id)arg0 restoreStateDidChange:(long long)arg1; - method
- (void)obliterateWithOptions:(unsigned long long)arg0 reason:(id)arg1; - method
- (id)pairedDevicesSnapshot; - method
- (void)pairedSyncDidBeginForDevice:(id)arg0 messagesSentHandler:(id /* block */)arg1 completion:(id /* block */)arg2; - method
- (id)pairedSyncManager; - method
- (void)profileDidBecomeReady:(id)arg0; - method
- (void)removeObserver:(id)arg0; - method
- (void)requestAuthorizationForRequestRecord:(id)arg0 requestSentHandler:(id /* block */)arg1 completion:(id /* block */)arg2; - method
- (void)resetSyncWithCompletion:(id /* block */)arg0; - method
- (double)restoreTimeout; - method
- (void)samplesAdded:(id)arg0 anchor:(id)arg1; - method
- (void)sendCompanionUserNotificationRequest:(id)arg0 completion:(id /* block */)arg1; - method
- (void)sendNotificationInstructionMessageRequest:(id)arg0 completion:(id /* block */)arg1; - method
- (void)sendStartWorkoutAppRequest:(id)arg0 completion:(id /* block */)arg1; - method
- (void)sendTinkerEndToEndCloudSyncRequestForNRDeviceUUID:(id)arg0 completion:(id /* block */)arg1; - method
- (void)sendTinkerSharingOptInRequest:(id)arg0 forNRDeviceUUID:(id)arg1 completion:(id /* block */)arg2; - method
- (void)sendTinkerWatchPairingRequest:(id)arg0 forNRDeviceUUID:(id)arg1 completion:(id /* block */)arg2; - method
- (void)setEnablePeriodicSyncTimer:(BOOL)arg0; - method
- (void)setRestoreTimeout:(double)arg0; - method
- (void)syncHealthDataWithOptions:(unsigned long long)arg0 completion:(id /* block */)arg1; - method
- (void)syncHealthDataWithOptions:(unsigned long long)arg0 reason:(id)arg1 accessibilityAssertion:(id)arg2 completion:(id /* block */)arg3; - method
- (void)syncHealthDataWithOptions:(unsigned long long)arg0 reason:(id)arg1 completion:(id /* block */)arg2; - method
- (void)syncSession:(id)arg0 didFinishSuccessfully:(BOOL)arg1 error:(id)arg2; - method
- (void)syncSession:(id)arg0 sendChanges:(id)arg1 completion:(id /* block */)arg2; - method
- (void)syncSessionWillBegin:(id)arg0; - method
- (void)unitTest_performWithActiveSyncStore:(id /* block */)arg0; - method
- (void)updatePairedDevicesWithCompletion:(id /* block */)arg0; - method
- (void)waitForLastChanceSyncWithDevicePairingID:(id)arg0 timeout:(double)arg1 completion:(id /* block */)arg2; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property BOOL enablePeriodicSyncTimer; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) BOOL isMaster; - property
@property(readonly) HKNanoSyncPairedDevicesSnapshot *pairedDevicesSnapshot; - property
@property(readonly, nonatomic) HDPairedSyncManager *pairedSyncManager; - property
@property double restoreTimeout; - property
@property(readonly) Class superclass;
Header
@interface HDNanoSyncManager : NSObject <HDDiagnosticObject, HDProfileReadyObserver, HDNanoSyncStoreDelegate, HDSyncSessionDelegate, HDDatabaseProtectedDataObserver, HDDataObserver, HDIDSMessageCenterDelegate, HDForegroundClientProcessObserver> { BOOL _isMaster; _Atomic BOOL _invalidated; id<_CDLocalContext> _context; BOOL _waitingForFirstUnlock; BOOL _enablePeriodicSyncTimer; int _tinkerOptInAcceptedToken; int _tinkerOptInDeclinedToken; HKNanoSyncPairedDevicesSnapshot *_pairedDevicesSnapshot; HDProfile *_profile; NSObject<OS_dispatch_queue> *_queue; NSObject<OS_dispatch_queue> *_syncQueue; HDIDSMessageCenter *_messageCenter; HKObserverSet *_observers; HDKeyValueDomain *_nanoSyncDomain; HDNanoSyncStore *_activeSyncStore; HDNanoSyncStore *_activeTinkerSyncStore; NSMutableArray *_tinkerOptInResponseBlocks; NSMutableDictionary *_syncStoresByDeviceIdentifier; NSArray *_pairedDevices; NSObject<OS_dispatch_source> *_periodicSyncTimer; NSDate *_lastPeriodicSyncDate; double _restoreTimeout; HDPairedSyncManager *_pairedSyncManager; } @property double restoreTimeout; @property BOOL enablePeriodicSyncTimer; @property (nonatomic, readonly) HDPairedSyncManager *pairedSyncManager; @property (readonly) BOOL isMaster; @property (readonly) HKNanoSyncPairedDevicesSnapshot *pairedDevicesSnapshot; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; - (void)profileDidBecomeReady:(id)profileDidBecomeReady; - (void)samplesAdded:(id)samplesAdded anchor:(id)anchor; - (void)addObserver:(id)addObserver; - (void)_userCharacteristicsDidChange:(id)_userCharacteristicsDidChange; - (void)removeObserver:(id)removeObserver; - (void)invalidateAndWait; - (id)diagnosticDescription; - (void).cxx_destruct; - (void)dealloc; - (void)database:(id)database protectedDataDidBecomeAvailable:(BOOL)protectedDataDidBecomeAvailable; - (void)getPairedWatchWorkoutState:(id /* block */)pairedWatchWorkoutState; - (void)waitForLastChanceSyncWithDevicePairingID:(id)devicePairingID timeout:(double)timeout completion:(id /* block */)completion; - (BOOL)isMaster; - (void)_deviceDidBecomeActive:(id)_deviceDidBecomeActive; - (void)messageCenter:(id)messageCenter didResolveIDSIdentifierForRequest:(id)request; - (void)_userPreferencesDidChange:(id)_userPreferencesDidChange; - (void)syncHealthDataWithOptions:(unsigned long long)options reason:(id)reason accessibilityAssertion:(id)accessibilityAssertion completion:(id /* block */)completion; - (id)pairedDevicesSnapshot; - (void)_deviceDidPair:(id)_deviceDidPair; - (void)initializeMessageCenterIfNeeded; - (void)_deviceDidUnpair:(id)_deviceDidUnpair; - (void)_scheduleResetReceivedNanoSyncAnchorsForHFD; - (void)_watchOffWristNotification:(id)_watchOffWristNotification; - (void)_workoutSamplesWereAssociated:(id)_workoutSamplesWereAssociated; - (BOOL)enablePeriodicSyncTimer; - (void)foregroundClientProcessesDidChange:(id)foregroundClientProcessesDidChange previouslyForegroundBundleIdentifiers:(id)previouslyForegroundBundleIdentifiers; - (id)initWithProfile:(id)profile isMaster:(BOOL)isMaster; - (void)messageCenter:(id)messageCenter activeDeviceDidChange:(id)activeDeviceDidChange acknowledgementHandler:(id /* block */)acknowledgementHandler; - (void)messageCenter:(id)messageCenter didResolveIDSIdentifierForResponse:(id)response; - (void)messageCenterChangesError:(id)messageCenterChangesError; - (void)messageCenterDidReceiveAuthorizationCompleteRequest:(id)messageCenterDidReceiveAuthorizationCompleteRequest; - (void)messageCenterDidReceiveAuthorizationError:(id)messageCenterDidReceiveAuthorizationError; - (void)messageCenterDidReceiveAuthorizationRequest:(id)messageCenterDidReceiveAuthorizationRequest; - (void)messageCenterDidReceiveAuthorizationResponse:(id)messageCenterDidReceiveAuthorizationResponse; - (void)messageCenterDidReceiveChangesRequest:(id)messageCenterDidReceiveChangesRequest; - (void)messageCenterDidReceiveChangesResponse:(id)messageCenterDidReceiveChangesResponse; - (void)messageCenterDidReceiveCompanionUserNotificationError:(id)messageCenterDidReceiveCompanionUserNotificationError; - (void)messageCenterDidReceiveCompanionUserNotificationRequest:(id)messageCenterDidReceiveCompanionUserNotificationRequest; - (void)messageCenterDidReceiveCompanionUserNotificationResponse:(id)messageCenterDidReceiveCompanionUserNotificationResponse; - (void)messageCenterDidReceiveCompanionWorkoutStateError:(id)messageCenterDidReceiveCompanionWorkoutStateError; - (void)messageCenterDidReceiveCompanionWorkoutStateRequest:(id)messageCenterDidReceiveCompanionWorkoutStateRequest; - (void)messageCenterDidReceiveCompanionWorkoutStateResponse:(id)messageCenterDidReceiveCompanionWorkoutStateResponse; - (void)messageCenterDidReceiveNotificationInstructionRequest:(id)messageCenterDidReceiveNotificationInstructionRequest; - (void)messageCenterDidReceiveRestoreRequest:(id)messageCenterDidReceiveRestoreRequest; - (void)messageCenterDidReceiveRestoreResponse:(id)messageCenterDidReceiveRestoreResponse; - (void)messageCenterDidReceiveRoutineRequest:(id)messageCenterDidReceiveRoutineRequest; - (void)messageCenterDidReceiveStartWorkoutAppError:(id)messageCenterDidReceiveStartWorkoutAppError; - (void)messageCenterDidReceiveStartWorkoutAppRequest:(id)messageCenterDidReceiveStartWorkoutAppRequest; - (void)messageCenterDidReceiveStartWorkoutAppResponse:(id)messageCenterDidReceiveStartWorkoutAppResponse; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncError:(id)endCloudSyncError; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncRequest:(id)endCloudSyncRequest; - (void)messageCenterDidReceiveTinkerEndToEndCloudSyncResponse:(id)endCloudSyncResponse; - (void)messageCenterDidReceiveTinkerOptInError:(id)error; - (void)messageCenterDidReceiveTinkerOptInRequest:(id)request; - (void)messageCenterDidReceiveTinkerOptInResponse:(id)response; - (void)messageCenterDidReceiveTinkerPairingError:(id)messageCenterDidReceiveTinkerPairingError; - (void)messageCenterDidReceiveTinkerPairingRequest:(id)messageCenterDidReceiveTinkerPairingRequest; - (void)messageCenterDidReceiveTinkerPairingResponse:(id)messageCenterDidReceiveTinkerPairingResponse; - (void)messageCenterRestoreError:(id)messageCenterRestoreError; - (void)nanoSyncStore:(id)nanoSyncStore deviceNameDidChange:(id)deviceNameDidChange; - (void)nanoSyncStore:(id)nanoSyncStore remoteSystemBuildVersionDidChange:(id)remoteSystemBuildVersionDidChange; - (void)nanoSyncStore:(id)nanoSyncStore restoreStateDidChange:(long long)restoreStateDidChange; - (void)obliterateWithOptions:(unsigned long long)options reason:(id)reason; - (void)pairedSyncDidBeginForDevice:(id)device messagesSentHandler:(id /* block */)messagesSentHandler completion:(id /* block */)completion; - (id)pairedSyncManager; - (void)requestAuthorizationForRequestRecord:(id)requestRecord requestSentHandler:(id /* block */)requestSentHandler completion:(id /* block */)completion; - (void)resetSyncWithCompletion:(id /* block */)completion; - (double)restoreTimeout; - (void)sendCompanionUserNotificationRequest:(id)sendCompanionUserNotificationRequest completion:(id /* block */)completion; - (void)sendNotificationInstructionMessageRequest:(id)sendNotificationInstructionMessageRequest completion:(id /* block */)completion; - (void)sendStartWorkoutAppRequest:(id)sendStartWorkoutAppRequest completion:(id /* block */)completion; - (void)sendTinkerEndToEndCloudSyncRequestForNRDeviceUUID:(id)nRDeviceUUID completion:(id /* block */)completion; - (void)sendTinkerSharingOptInRequest:(id)request forNRDeviceUUID:(id)forNRDeviceUUID completion:(id /* block */)completion; - (void)sendTinkerWatchPairingRequest:(id)sendTinkerWatchPairingRequest forNRDeviceUUID:(id)forNRDeviceUUID completion:(id /* block */)completion; - (void)setEnablePeriodicSyncTimer:(BOOL)enablePeriodicSyncTimer; - (void)setRestoreTimeout:(double)restoreTimeout; - (void)syncHealthDataWithOptions:(unsigned long long)options completion:(id /* block */)completion; - (void)syncHealthDataWithOptions:(unsigned long long)options reason:(id)reason completion:(id /* block */)completion; - (void)syncSession:(id)syncSession didFinishSuccessfully:(BOOL)didFinishSuccessfully error:(id)error; - (void)syncSession:(id)syncSession sendChanges:(id)sendChanges completion:(id /* block */)completion; - (void)syncSessionWillBegin:(id)syncSessionWillBegin; - (void)unitTest_performWithActiveSyncStore:(id /* block */)activeSyncStore; - (void)updatePairedDevicesWithCompletion:(id /* block */)completion; @end