Objective-CclassSensorKit
SRAuthorizationClient
@interface SRAuthorizationClient : NSObject <SRSensorKitServiceClientAuthorizationListening>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 39
- method
+ (id)authClient; - method
+ (void)initialize; - method
+ (void)setAuthClient:(id)arg0; - method
+ (id)sharedInstance; - property
@property(class, retain, nonatomic) SRAuthorizationClient *authClient; - property
@property(class, readonly) SRAuthorizationClient *sharedInstance; - ivar
NSMutableDictionary *_actualAuthorizedServices;+0x20 - ivar
NSXPCConnection *_connection;+0x10 - ivar
NSMutableDictionary *_deniedServices;+0x28 - ivar
NSMutableSet *_initialAuthCompleteByBundleId;+0x40 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _initialAuthLock;+0xc - ivar
NSMutableDictionary *_lastModifiedTimes;+0x30 - ivar
NSMapTable *_listeners;+0x18 - ivar
NSNumber *_prerequisites;+0x38 - ivar
int _registrationToken;+0x8 - method
- (void)addListener:(id)arg0; - method
- (void)addListener:(id)arg0 forBundleId:(id)arg1; - method
- (void)authorizedServicesDidChange:(id)arg0 deniedServices:(id)arg1 prerequisites:(long long)arg2 lastModifiedTimes:(id)arg3 bundleIdentifier:(id)arg4; - method
- (id)authorizedServicesForBundleId:(id)arg0; - method
- (void)completeEnrollmentForBundleId:(id)arg0 sensors:(id)arg1; - method
- (BOOL)dataCollectionEnabled; - method
- (void)dealloc; - method
- (BOOL)firstRunOnboardingCompleted; - method
- (id)init; - method
- (id)initWithConnection:(id)arg0; - method
- (BOOL)initialAuthorizationNeededForBundleId:(id)arg0; - method
- (void)initialAuthorizationStateForBundleId:(id)arg0 authorizationState:(id /* block */)arg1; - method
- (void)invalidate; - method
- (id)legacyResearchStudyBundleIDs; - method
- (id)legacyResearchStudyEntitlement; - method
- (void)removeListener:(id)arg0; - method
- (void)reregisterAfterInterruption:(id)arg0 effectiveBundleId:(id)arg1; - method
- (void)setDataCollectionEnabled:(BOOL)arg0; - method
- (void)setFirstRunOnboardingCompleted:(BOOL)arg0; - method
- (void)setInitialAuthorizationCompleteForBundleId:(id)arg0; - property
@property(nonatomic) BOOL dataCollectionEnabled; - property
@property(nonatomic) BOOL firstRunOnboardingCompleted; - property
@property(readonly, nonatomic) NSArray *legacyResearchStudyBundleIDs; - property
@property(readonly, nonatomic) NSString *legacyResearchStudyEntitlement;
Header
@interface SRAuthorizationClient : NSObject <SRSensorKitServiceClientAuthorizationListening> { int _registrationToken; struct os_unfair_lock_s _initialAuthLock; NSXPCConnection *_connection; NSMapTable *_listeners; NSMutableDictionary *_actualAuthorizedServices; NSMutableDictionary *_deniedServices; NSMutableDictionary *_lastModifiedTimes; NSNumber *_prerequisites; NSMutableSet *_initialAuthCompleteByBundleId; } @property (nonatomic, strong, class) SRAuthorizationClient *authClient; @property (class, readonly) SRAuthorizationClient *sharedInstance; @property (nonatomic, readonly) NSArray *legacyResearchStudyBundleIDs; @property (nonatomic, readonly) NSString *legacyResearchStudyEntitlement; @property (nonatomic) BOOL dataCollectionEnabled; @property (nonatomic) BOOL firstRunOnboardingCompleted; + (void)initialize; + (id)sharedInstance; + (id)authClient; + (void)setAuthClient:(id)authClient; - (void)removeListener:(id)removeListener; - (void)addListener:(id)addListener; - (id)initWithConnection:(id)connection; - (BOOL)dataCollectionEnabled; - (void)dealloc; - (void)invalidate; - (id)init; - (void)setDataCollectionEnabled:(BOOL)dataCollectionEnabled; - (void)setFirstRunOnboardingCompleted:(BOOL)firstRunOnboardingCompleted; - (void)addListener:(id)addListener forBundleId:(id)forBundleId; - (void)authorizedServicesDidChange:(id)authorizedServicesDidChange deniedServices:(id)deniedServices prerequisites:(long long)prerequisites lastModifiedTimes:(id)lastModifiedTimes bundleIdentifier:(id)bundleIdentifier; - (id)authorizedServicesForBundleId:(id)bundleId; - (void)completeEnrollmentForBundleId:(id)bundleId sensors:(id)sensors; - (BOOL)firstRunOnboardingCompleted; - (BOOL)initialAuthorizationNeededForBundleId:(id)bundleId; - (void)initialAuthorizationStateForBundleId:(id)bundleId authorizationState:(id /* block */)authorizationState; - (id)legacyResearchStudyBundleIDs; - (id)legacyResearchStudyEntitlement; - (void)reregisterAfterInterruption:(id)interruption effectiveBundleId:(id)effectiveBundleId; - (void)setInitialAuthorizationCompleteForBundleId:(id)bundleId; @end