text: /*
  * This header is generated by classdump-dyld 1.0
  * on Saturday, August 24, 2019 at 9:47:24 PM Mountain Standard Time
  * Operating System: Version 12.4 (Build 16M568)
  * Image Source: /System/Library/Frameworks/HomeKit.framework/HomeKit
  * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
  */
  
  #import <libobjc.A.dylib/HMFMessageReceiver.h>
  #import <libobjc.A.dylib/HMMutableApplicationData.h>
  #import <libobjc.A.dylib/HMApplicationData.h>
  
  @protocol HMHomeManagerDelegate;
  @class HMFUnfairLock, HMAccessory, HMHome, HMApplicationData, HMHomeManagerConfiguration, HMMutableArray, NSOperationQueue, NSNumber, _HMLocationHandler, NSString, NSUUID, _HMContext, NSArray;
  
  @interface HMHomeManager : NSObject <HMFMessageReceiver, HMMutableApplicationData, HMApplicationData> {
  
  	HMFUnfairLock* _lock;
  	HMAccessory* _currentAccessory;
  	BOOL _thisDeviceResidentCapable;
  	BOOL _residentEnabledForThisDevice;
  	BOOL _accessAllowedWhenLocked;
  	BOOL _mediaAccessoryControlRequested;
  	BOOL _didUpdateHomes;
  	BOOL _frameworkMergeComplete;
  	BOOL _fetchInProgress;
  	BOOL _viewServiceActive;
  	int _serverGenerationCounterToken;
  	id<HMHomeManagerDelegate> _delegate;
  	HMHome* _primaryHome;
  	HMHome* _currentHome;
  	HMApplicationData* _applicationData;
  	unsigned long long _dataSyncState;
  	unsigned long long _status;
  	unsigned long long _residentProvisioningStatus;
  	HMHomeManagerConfiguration* _configuration;
  	unsigned long long _options;
  	HMMutableArray* _currentHomes;
  	HMMutableArray* _homeInvitations;
  	NSOperationQueue* _mergeOperationQueue;
  	unsigned long long _generationCounter;
  	NSNumber* _fileGenerationCounter;
  	NSNumber* _fileMetadataVersion;
  	unsigned long long _metadataVersion;
  	_HMLocationHandler* _locationHandler;
  	NSString* _homeCacheDir;
  	NSString* _homeDataCache;
  	NSString* _metadataCache;
  	NSUUID* _uuid;
  	_HMContext* _context;
  
  }
  
  @property (nonatomic,retain) HMMutableArray * currentHomes;                                                //@synthesize currentHomes=_currentHomes - In the implementation block
  @property (nonatomic,retain) HMMutableArray * homeInvitations;                                             //@synthesize homeInvitations=_homeInvitations - In the implementation block
  @property (nonatomic,retain) NSOperationQueue * mergeOperationQueue;                                       //@synthesize mergeOperationQueue=_mergeOperationQueue - In the implementation block
  @property (nonatomic,retain) HMHome * primaryHome;                                                         //@synthesize primaryHome=_primaryHome - In the implementation block
  @property (assign,nonatomic) BOOL didUpdateHomes;                                                          //@synthesize didUpdateHomes=_didUpdateHomes - In the implementation block
  @property (assign,nonatomic) BOOL frameworkMergeComplete;                                                  //@synthesize frameworkMergeComplete=_frameworkMergeComplete - In the implementation block
  @property (assign,nonatomic) BOOL fetchInProgress;                                                         //@synthesize fetchInProgress=_fetchInProgress - In the implementation block
  @property (assign,nonatomic) unsigned long long generationCounter;                                         //@synthesize generationCounter=_generationCounter - In the implementation block
  @property (assign,nonatomic) int serverGenerationCounterToken;                                             //@synthesize serverGenerationCounterToken=_serverGenerationCounterToken - In the implementation block
  @property (nonatomic,readonly) unsigned long long serverGenerationCounter; 
  @property (nonatomic,retain) NSNumber * fileGenerationCounter;                                             //@synthesize fileGenerationCounter=_fileGenerationCounter - In the implementation block
  @property (nonatomic,retain) NSNumber * fileMetadataVersion;                                               //@synthesize fileMetadataVersion=_fileMetadataVersion - In the implementation block
  @property (assign,nonatomic) unsigned long long metadataVersion;                                           //@synthesize metadataVersion=_metadataVersion - In the implementation block
  @property (nonatomic,readonly) _HMLocationHandler * locationHandler;                                       //@synthesize locationHandler=_locationHandler - In the implementation block
  @property (retain) NSString * homeCacheDir;                                                                //@synthesize homeCacheDir=_homeCacheDir - In the implementation block
  @property (retain) NSString * homeDataCache;                                                               //@synthesize homeDataCache=_homeDataCache - In the implementation block
  @property (retain) NSString * metadataCache;                                                               //@synthesize metadataCache=_metadataCache - In the implementation block
  @property (assign,nonatomic) BOOL mediaAccessoryControlRequested;                                          //@synthesize mediaAccessoryControlRequested=_mediaAccessoryControlRequested - In the implementation block
  @property (nonatomic,readonly) NSUUID * uuid;                                                              //@synthesize uuid=_uuid - In the implementation block
  @property (nonatomic,readonly) _HMContext * context;                                                       //@synthesize context=_context - In the implementation block
  @property (assign,getter=isViewServiceActive,nonatomic) BOOL viewServiceActive;                            //@synthesize viewServiceActive=_viewServiceActive - In the implementation block
  @property (readonly) unsigned long long options;                                                           //@synthesize options=_options - In the implementation block
  @property (readonly) HMHomeManagerConfiguration * configuration;                                           //@synthesize configuration=_configuration - In the implementation block
  @property (nonatomic,copy,readonly) NSArray * incomingHomeInvitations; 
  @property (nonatomic,readonly) HMHome * currentHome;                                                       //@synthesize currentHome=_currentHome - In the implementation block
  @property (__weak,readonly) HMAccessory * currentAccessory; 
  @property (getter=isDataSyncInProgress,nonatomic,readonly) BOOL dataSyncInProgress; 
  @property (nonatomic,readonly) unsigned long long dataSyncState;                                           //@synthesize dataSyncState=_dataSyncState - In the implementation block
  @property (readonly) unsigned long long status;                                                            //@synthesize status=_status - In the implementation block
  @property (getter=isThisDeviceResidentCapable,readonly) BOOL thisDeviceResidentCapable;                    //@synthesize thisDeviceResidentCapable=_thisDeviceResidentCapable - In the implementation block
  @property (getter=isResidentEnabledForThisDevice,readonly) BOOL residentEnabledForThisDevice;              //@synthesize residentEnabledForThisDevice=_residentEnabledForThisDevice - In the implementation block
  @property (getter=isAccessAllowedWhenLocked,readonly) BOOL accessAllowedWhenLocked;                        //@synthesize accessAllowedWhenLocked=_accessAllowedWhenLocked - In the implementation block
  @property (readonly) unsigned long long residentProvisioningStatus;                                        //@synthesize residentProvisioningStatus=_residentProvisioningStatus - In the implementation block
  @property (assign,nonatomic,__weak) id<HMHomeManagerDelegate> delegate;                                    //@synthesize delegate=_delegate - In the implementation block
  @property (nonatomic,copy,readonly) NSArray * homes; 
  @property (readonly) unsigned long long hash; 
  @property (readonly) Class superclass; 
  @property (copy,readonly) NSString * description; 
  @property (copy,readonly) NSString * debugDescription; 
  @property (nonatomic,readonly) NSUUID * messageTargetUUID; 
  @property (nonatomic,readonly) NSObject*<OS_dispatch_queue> messageReceiveQueue; 
  @property (nonatomic,readonly) HMApplicationData * applicationData; 
  +(BOOL)dataSyncInProgressFromDataSyncState:(unsigned long long)arg1 ;
  -(HMHome *)currentHome;
  -(id)_privateDelegate;
  -(BOOL)isDataSyncInProgress;
  -(void)updateiCloudSwitchState:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_handleAppDataUpdatedNotification:(id)arg1 ;
  -(void)_updateApplicationData:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_notifyDelegateOfAppDataUpdate;
  -(void)_handleUserInvitationsUpdatedNotification:(id)arg1 ;
  -(BOOL)isViewServiceActive;
  -(void)_acceptInvitation:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)checkName:(id)arg1 inHome:(id)arg2 withValidationOptions:(unsigned long long)arg3 completionHandler:(/*^block*/id)arg4 ;
  -(void)_fetchHomeConfigurationWithPrivacyCheckWithCache:(BOOL)arg1 refreshRequested:(BOOL)arg2 ;
  -(BOOL)fetchInProgress;
  -(HMMutableArray *)currentHomes;
  -(HMMutableArray *)homeInvitations;
  -(void)_updateStatusWithPayload:(id)arg1 ;
  -(void)_updateDataSyncState:(id)arg1 ;
  -(void)_notifyResidentProvisioningStatus:(unsigned long long)arg1 ;
  -(void)_updatePrimaryHome:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_addHomeWithName:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_removeHome:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)eraseHomeDataWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)eraseHomeDataAndDeleteMetadata:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_eraseHomeDataAndDeleteMetadata:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_logControl:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_queryHomeKitUsageStateWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)_handleQueryHomeKitUsageStateResponse:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_queryVersionWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)_dumpState:(id)arg1 payload:(id)arg2 completion:(/*^block*/id)arg3 ;
  -(void)_deleteDuetEvents:(id)arg1 completion:(/*^block*/id)arg2 ;
  -(void)_checkEventValidity:(id)arg1 completion:(/*^block*/id)arg2 ;
  -(void)_logAppViewEvent:(id)arg1 name:(id)arg2 uuid:(id)arg3 information:(id)arg4 completion:(/*^block*/id)arg5 ;
  -(void)_primaryAccountDidChange:(id)arg1 modified:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)_primaryAccountWasDeletedWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)_queryMetadata:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_setMetadata:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_shouldDisplayiCloudSwitchWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)_queryiCloudSwitchStateWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)_updateiCloudSwitchState:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_updateResidentEnabledForThisDevice:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_updateAccessAllowedWhenLocked:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_checkName:(id)arg1 inHome:(id)arg2 withValidationOptions:(unsigned long long)arg3 completionHandler:(/*^block*/id)arg4 ;
  -(void)_determineCacheDirectory;
  -(void)setFetchInProgress:(BOOL)arg1 ;
  -(void)_fetchHomeConfigurationWithCache:(BOOL)arg1 refreshRequested:(BOOL)arg2 ;
  -(BOOL)mediaAccessoryControlRequested;
  -(void)_registerForMediaAccessoryControl:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)setThisDeviceResidentCapable:(BOOL)arg1 ;
  -(void)notifyResidentCapableUpdated:(BOOL)arg1 ;
  -(void)setResidentEnabledForThisDevice:(BOOL)arg1 ;
  -(void)notifyResidentEnabledUpdated:(BOOL)arg1 ;
  -(void)_notifyAccessAllowedWhenLockedUpdated:(BOOL)arg1 ;
  -(BOOL)didUpdateHomes;
  -(void)_mergeCurrentHomesWithNewHomes:(id)arg1 newPrimaryHome:(id)arg2 newCurrentHome:(id)arg3 newInvitations:(id)arg4 newAppData:(id)arg5 refreshRequested:(BOOL)arg6 ;
  -(void)setDidUpdateHomes:(BOOL)arg1 ;
  -(void)_updateHomes:(id)arg1 ;
  -(void)_updateCurrentHome:(id)arg1 ;
  -(void)_requestRefresh;
  -(void)setFrameworkMergeComplete:(BOOL)arg1 ;
  -(void)__handleHomeManagerState:(id)arg1 ;
  -(void)setHomeCacheDir:(NSString *)arg1 ;
  -(void)setHomeDataCache:(NSString *)arg1 ;
  -(void)setFileGenerationCounter:(NSNumber *)arg1 ;
  -(void)setFileMetadataVersion:(NSNumber *)arg1 ;
  -(NSString *)homeCacheDir;
  -(NSString *)homeDataCache;
  -(NSNumber *)fileGenerationCounter;
  -(NSNumber *)fileMetadataVersion;
  -(void)_removeCacheFiles:(BOOL)arg1 ;
  -(void)_determineCacheFiles;
  -(BOOL)_isValidCachedHomeConfiguration:(id)arg1 ;
  -(void)_dumpCaches:(id)arg1 metadata:(id)arg2 ;
  -(unsigned long long)serverGenerationCounter;
  -(void)_requestFetchHomeConfigurationWithGenerationCounter:(id)arg1 cachedHomeConfiguration:(id)arg2 metadataVersion:(id)arg3 cachedMetadataConfiguration:(id)arg4 refreshRequested:(BOOL)arg5 ;
  -(void)_processHomeConfigurationRequest:(id)arg1 refreshRequested:(BOOL)arg2 ;
  -(void)_setResidentProvisioningStatus:(unsigned long long)arg1 ;
  -(void)_requestRuntimeUpdate:(id)arg1 ;
  -(void)_writeCaches:(id)arg1 homeData:(BOOL)arg2 metadata:(BOOL)arg3 ;
  -(void)_handleRuntimeStateUpdatePayload:(id)arg1 ;
  -(void)setCurrentHome:(HMHome *)arg1 ;
  -(NSOperationQueue *)mergeOperationQueue;
  -(void)_mergeCurrentHomeInvitationsWithNewHomeInvitations:(id)arg1 operations:(id)arg2 ;
  -(void)_mergeCurrentAppDataWithNewAppData:(id)arg1 operations:(id)arg2 ;
  -(void)_handleHomeAddedNotification:(id)arg1 ;
  -(void)_handleHomeRemovedNotification:(id)arg1 ;
  -(void)_handlePrimaryChangedNotification:(id)arg1 ;
  -(void)_handleCurrentHomeChangedNotification:(id)arg1 ;
  -(void)_handleHomesDidUpdateNotification:(id)arg1 ;
  -(void)_handleMetadataUpdatedNotification:(id)arg1 ;
  -(void)_handleResidentDeviceCapableUpdatedNotification:(id)arg1 ;
  -(void)_handleResidentEnabledForThisDeviceUpdatedNotification:(id)arg1 ;
  -(void)_handleAccessAllowedWhenLockedUpdatedNotification:(id)arg1 ;
  -(void)_handleStatusUpdated:(id)arg1 ;
  -(void)_handleRuntimeStateUpdateNotification:(id)arg1 ;
  -(void)_updateInvitation:(id)arg1 presenceAuthStatus:(unsigned long long)arg2 invitationState:(long long)arg3 completionHandler:(/*^block*/id)arg4 ;
  -(void)setMediaAccessoryControlRequested:(BOOL)arg1 ;
  -(void)_pairingIdentityForAccessoryWithIdentifier:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_connectivityInfoForAccessory:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)updatePrimaryHome:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)removeHome:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)resetConfiguration:(BOOL)arg1 withoutPopup:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)logControl:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)queryHomeKitUsageStateWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)queryVersionWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)dumpState:(id)arg1 payload:(id)arg2 completion:(/*^block*/id)arg3 ;
  -(void)deleteDuetEvents:(id)arg1 completion:(/*^block*/id)arg2 ;
  -(void)checkEventValidity:(id)arg1 completion:(/*^block*/id)arg2 ;
  -(void)logAppViewEvent:(id)arg1 name:(id)arg2 uuid:(id)arg3 information:(id)arg4 completion:(/*^block*/id)arg5 ;
  -(void)primaryAccountDidChange:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)primaryAccountWasModified:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)idmsAccountUsernameModifiedWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)primaryAccountWasDeletedWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)queryMetadata:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)setMetadata:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)shouldDisplayiCloudSwitchWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)queryiCloudSwitchStateWithCompletionHandler:(/*^block*/id)arg1 ;
  -(void)updateResidentEnabledForThisDevice:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)updateAccessAllowedWhenLocked:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)__resolveAccountHandle:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)__removeAccountWithIdentifier:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)__removeAccountWithHandle:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_pingDeviceWithUUID:(id)arg1 secure:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)_pingDeviceWithDestination:(id)arg1 secure:(BOOL)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)_declineInvitation:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)_acceptInvitation:(id)arg1 presenceAuthStatus:(unsigned long long)arg2 completionHandler:(/*^block*/id)arg3 ;
  -(void)pairingIdentityForAccessoryWithIdentifier:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)connectivityInfoForAccessory:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)setCurrentHomes:(HMMutableArray *)arg1 ;
  -(void)setHomeInvitations:(HMMutableArray *)arg1 ;
  -(void)setMergeOperationQueue:(NSOperationQueue *)arg1 ;
  -(BOOL)frameworkMergeComplete;
  -(int)serverGenerationCounterToken;
  -(void)setServerGenerationCounterToken:(int)arg1 ;
  -(NSArray *)incomingHomeInvitations;
  -(BOOL)isThisDeviceResidentCapable;
  -(BOOL)isResidentEnabledForThisDevice;
  -(void)updateApplicationData:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)addHomeWithName:(id)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(void)registerForMediaAccessoryControl:(BOOL)arg1 completionHandler:(/*^block*/id)arg2 ;
  -(id)initWithHomeMangerConfiguration:(id)arg1 ;
  -(NSUUID *)messageTargetUUID;
  -(NSObject*<OS_dispatch_queue>)messageReceiveQueue;
  -(void)_registerNotificationHandlers;
  -(id)_homeWithUUID:(id)arg1 ;
  -(void)setMetadataVersion:(unsigned long long)arg1 ;
  -(unsigned long long)metadataVersion;
  -(HMAccessory *)currentAccessory;
  -(void)setCurrentAccessory:(HMAccessory *)arg1 ;
  -(NSArray *)homes;
  -(unsigned long long)dataSyncState;
  -(void)setDataSyncState:(unsigned long long)arg1 ;
  -(HMApplicationData *)applicationData;
  -(void)setApplicationData:(HMApplicationData *)arg1 ;
  -(void)setAccessAllowedWhenLocked:(BOOL)arg1 ;
  -(void)_handleResidentProvisioningStatusChanged:(id)arg1 ;
  -(void)setResidentProvisioningStatus:(unsigned long long)arg1 ;
  -(unsigned long long)residentProvisioningStatus;
  -(void)_updateAppData:(id)arg1 ;
  -(BOOL)isAccessAllowedWhenLocked;
  -(unsigned long long)generationCounter;
  -(void)setGenerationCounter:(unsigned long long)arg1 ;
  -(HMHome *)primaryHome;
  -(void)setPrimaryHome:(HMHome *)arg1 ;
  -(_HMLocationHandler *)locationHandler;
  -(NSString *)metadataCache;
  -(void)setMetadataCache:(NSString *)arg1 ;
  -(void)setViewServiceActive:(BOOL)arg1 ;
  -(id)init;
  -(void)dealloc;
  -(NSUUID *)uuid;
  -(void)setDelegate:(id<HMHomeManagerDelegate>)arg1 ;
  -(id<HMHomeManagerDelegate>)delegate;
  -(_HMContext *)context;
  -(HMHomeManagerConfiguration *)configuration;
  -(unsigned long long)options;
  -(id)initWithOptions:(unsigned long long)arg1 ;
  -(void)_start;
  -(unsigned long long)status;
  -(void)setStatus:(unsigned long long)arg1 ;
  @end
  
  