Objective-CclassSensorKit
SRSensorReader
@interface SRSensorReader : NSObject <SRAuthorizationClientDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolSRAuthorizationClientDelegate
Members 97
- method
+ (void)_requestAuthorizationMigrationForSensors:(id)arg0 completion:(id /* block */)arg1; - method
+ (void)authorizationRequestStatusForBundle:(id)arg0 sensors:(id)arg1 completionHandler:(id /* block */)arg2; - method
+ (id /* block */)createExportDataForServices:(id)arg0 withCompletionHandler:(id /* block */)arg1; - method
+ (id /* block */)createExportDataWithCompletionHandler:(id /* block */)arg0; - method
+ (void)initialize; - method
+ (id)new; - method
+ (void)requestAuthorizationForBundle:(id)arg0 sensors:(id)arg1 legacyPromptErrorBehavior:(BOOL)arg2 withCompletionHandler:(id /* block */)arg3; - method
+ (void)requestAuthorizationForBundle:(id)arg0 sensors:(id)arg1 withCompletionHandler:(id /* block */)arg2; - method
+ (void)requestAuthorizationForSensors:(id)arg0 completion:(id /* block */)arg1; - ivar
NSDate *__lastModifiedAuthorizationTime;+0x40 - ivar
_Atomic int _authState;+0x18 - ivar
SRAuthorizationClient *_authorizationClient;+0x30 - ivar
NSString *_bundleId;+0x38 - ivar
BOOL _bypassHoldingPeriod;+0x1c - ivar
NSString *_canonicalSensor;+0x28 - ivar
id <SRReaderStorageBackend> _datastoreBackend;+0x50 - ivar
id <SRSensorReaderDelegate> _delegate;+0x20 - ivar
double _earliestEligibleTime;+0x10 - ivar
Class _exportingSampleClass;+0x60 - ivar
NSString *_requestedSensor;+0x48 - ivar
Class _sampleClass;+0x58 - ivar
double _serviceStartTime;+0x8 - method
- (void).cxx_destruct; - method
- (id)_lastModifiedAuthorizationTime; - method
- (void)_startRecordingWithSensorConfiguration:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (BOOL)_updateAuthorizationStatusWithAuthorizedServices:(id)arg0 deniedServices:(id)arg1 dataCollectionEnabled:(BOOL)arg2 onboardingCompleted:(BOOL)arg3 lastModifiedTimes:(id)arg4 forBundleIdentifier:(id)arg5; - method
- (BOOL)_updateAuthorizationStatusWithAuthorizedServices:(id)arg0 deniedServices:(id)arg1 dataCollectionEnabled:(BOOL)arg2 onboardingCompleted:(BOOL)arg3 lastModifiedTimes:(id)arg4 forBundleIdentifier:(id)arg5 previousAuthorizationStatus:(long long)arg6; - method
- (id)authorizationClient; - method
- (long long)authorizationStatus; - method
- (void)authorizedServicesDidChange:(id)arg0 deniedServices:(id)arg1 dataCollectionEnabled:(BOOL)arg2 onboardingCompleted:(BOOL)arg3 lastModifiedTimes:(id)arg4 forBundleIdentifier:(id)arg5; - method
- (id)bundleId; - method
- (BOOL)bypassHoldingPeriod; - method
- (id)canonicalSensor; - method
- (id /* block */)createExportDataWithCompletionHandler:(id /* block */)arg0; - method
- (id)datastoreBackend; - method
- (void)dealloc; - method
- (id)delegate; - method
- (void)didChangeAuthorizationStatus:(long long)arg0; - method
- (void)didCompleteFetch:(id)arg0; - method
- (void)didFetchDevices:(id)arg0; - method
- (double)earliestEligibleTime; - method
- (Class)exportingSampleClass; - method
- (void)fetch:(id)arg0; - method
- (void)fetch:(id)arg0 fetchResultHandler:(id /* block */)arg1 fetchDidCompleteHandler:(id /* block */)arg2 fetchFailedWithErrorHandler:(id /* block */)arg3; - method
- (void)fetchDevices; - method
- (void)fetchDevices:(id /* block */)arg0; - method
- (void)fetchDevicesDidFailWithError:(id)arg0; - method
- (void)fetchDevicesWithRetryAttempt:(int)arg0; - method
- (void)fetchReaderMetadata; - method
- (BOOL)fetchingRequest:(id)arg0 didFetchResult:(id)arg1; - method
- (void)fetchingRequest:(id)arg0 failedWithError:(id)arg1; - method
- (id)init; - method
- (id)initWithSensor:(id)arg0; - method
- (id)initWithSensor:(id)arg0 bundle:(id)arg1; - method
- (id)initWithSensor:(id)arg0 sensorDescription:(id)arg1 datastoreBackend:(id)arg2 authorizationClient:(id)arg3 bundleId:(id)arg4; - method
- (BOOL)isAuthorized; - method
- (id)requestedSensor; - method
- (Class)sampleClass; - method
- (id)sensor; - method
- (void)sensorReaderDidStopRecording; - method
- (void)sensorReaderWillStartRecording; - method
- (double)serviceStartTime; - method
- (void)setAuthorizationClient:(id)arg0; - method
- (void)setAuthorizationStatus:(long long)arg0; - method
- (void)setBundleId:(id)arg0; - method
- (void)setBypassHoldingPeriod:(BOOL)arg0; - method
- (void)setCanonicalSensor:(id)arg0; - method
- (void)setDatastoreBackend:(id)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setExportingSampleFromDescription:(id)arg0; - method
- (void)setRequestedSensor:(id)arg0; - method
- (void)setSampleClassFromDescription:(id)arg0; - method
- (void)set_lastModifiedAuthorizationTime:(id)arg0; - method
- (void)startRecording; - method
- (void)startRecordingFailedWithError:(id)arg0; - method
- (void)startRecordingWithCompletionHandler:(id /* block */)arg0; - method
- (void)stopRecording; - method
- (void)stopRecordingFailedWithError:(id)arg0; - method
- (void)stopRecordingWithCompletionHandler:(id /* block */)arg0; - property
@property(retain) NSDate *_lastModifiedAuthorizationTime; - property
@property(retain) SRAuthorizationClient *authorizationClient; - property
@property(readonly) long long authorizationStatus; - property
@property(copy) NSString *bundleId; - property
@property(nonatomic) BOOL bypassHoldingPeriod; - property
@property(copy) NSString *canonicalSensor; - property
@property(retain, nonatomic) id <SRReaderStorageBackend> datastoreBackend; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(weak) id <SRSensorReaderDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(readonly, nonatomic) double earliestEligibleTime; - property
@property(readonly, nonatomic) Class exportingSampleClass; - property
@property(readonly) unsigned long long hash; - property
@property(retain) NSString *requestedSensor; - property
@property(readonly, nonatomic) Class sampleClass; - property
@property(readonly, copy) NSString *sensor; - property
@property(readonly, nonatomic) double serviceStartTime; - property
@property(readonly) Class superclass;
Header
@interface SRSensorReader : NSObject <SRAuthorizationClientDelegate> { double _serviceStartTime; double _earliestEligibleTime; _Atomic int _authState; BOOL _bypassHoldingPeriod; id<SRSensorReaderDelegate> _delegate; NSString *_canonicalSensor; SRAuthorizationClient *_authorizationClient; NSString *_bundleId; NSDate *__lastModifiedAuthorizationTime; NSString *_requestedSensor; id<SRReaderStorageBackend> _datastoreBackend; Class _sampleClass; Class _exportingSampleClass; } @property (copy) NSString *canonicalSensor; @property (strong) SRAuthorizationClient *authorizationClient; @property (copy) NSString *bundleId; @property (strong) NSDate *_lastModifiedAuthorizationTime; @property (strong) NSString *requestedSensor; @property (nonatomic, strong) id<SRReaderStorageBackend> datastoreBackend; @property (nonatomic, readonly) Class sampleClass; @property (nonatomic, readonly) Class exportingSampleClass; @property (nonatomic) BOOL bypassHoldingPeriod; @property (nonatomic, readonly) double earliestEligibleTime; @property (nonatomic, readonly) double serviceStartTime; @property (readonly) long long authorizationStatus; @property (copy, readonly) NSString *sensor; @property (weak) id<SRSensorReaderDelegate> delegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (void)initialize; + (id)new; + (void)_requestAuthorizationMigrationForSensors:(id)sensors completion:(id /* block */)completion; + (void)authorizationRequestStatusForBundle:(id)bundle sensors:(id)sensors completionHandler:(id /* block */)completionHandler; + (id /* block */)createExportDataForServices:(id)services withCompletionHandler:(id /* block */)withCompletionHandler; + (id /* block */)createExportDataWithCompletionHandler:(id /* block */)completionHandler; + (void)requestAuthorizationForBundle:(id)bundle sensors:(id)sensors legacyPromptErrorBehavior:(BOOL)legacyPromptErrorBehavior withCompletionHandler:(id /* block */)withCompletionHandler; + (void)requestAuthorizationForBundle:(id)bundle sensors:(id)sensors withCompletionHandler:(id /* block */)withCompletionHandler; + (void)requestAuthorizationForSensors:(id)sensors completion:(id /* block */)completion; - (void)startRecording; - (BOOL)isAuthorized; - (void)stopRecording; - (long long)authorizationStatus; - (void)setAuthorizationStatus:(long long)authorizationStatus; - (id)sensor; - (void).cxx_destruct; - (void)setDelegate:(id)delegate; - (void)dealloc; - (id)init; - (id)delegate; - (void)fetch:(id)fetch; - (void)setBundleId:(id)bundleId; - (id)bundleId; - (id)initWithSensor:(id)sensor; - (id)requestedSensor; - (id)canonicalSensor; - (BOOL)fetchingRequest:(id)fetchingRequest didFetchResult:(id)didFetchResult; - (id)_lastModifiedAuthorizationTime; - (void)_startRecordingWithSensorConfiguration:(id)sensorConfiguration completionHandler:(id /* block */)completionHandler; - (BOOL)_updateAuthorizationStatusWithAuthorizedServices:(id)authorizedServices deniedServices:(id)deniedServices dataCollectionEnabled:(BOOL)dataCollectionEnabled onboardingCompleted:(BOOL)onboardingCompleted lastModifiedTimes:(id)lastModifiedTimes forBundleIdentifier:(id)forBundleIdentifier; - (BOOL)_updateAuthorizationStatusWithAuthorizedServices:(id)authorizedServices deniedServices:(id)deniedServices dataCollectionEnabled:(BOOL)dataCollectionEnabled onboardingCompleted:(BOOL)onboardingCompleted lastModifiedTimes:(id)lastModifiedTimes forBundleIdentifier:(id)forBundleIdentifier previousAuthorizationStatus:(long long)previousAuthorizationStatus; - (id)authorizationClient; - (void)authorizedServicesDidChange:(id)authorizedServicesDidChange deniedServices:(id)deniedServices dataCollectionEnabled:(BOOL)dataCollectionEnabled onboardingCompleted:(BOOL)onboardingCompleted lastModifiedTimes:(id)lastModifiedTimes forBundleIdentifier:(id)forBundleIdentifier; - (BOOL)bypassHoldingPeriod; - (id /* block */)createExportDataWithCompletionHandler:(id /* block */)completionHandler; - (id)datastoreBackend; - (void)didChangeAuthorizationStatus:(long long)didChangeAuthorizationStatus; - (void)didCompleteFetch:(id)didCompleteFetch; - (void)didFetchDevices:(id)didFetchDevices; - (double)earliestEligibleTime; - (Class)exportingSampleClass; - (void)fetch:(id)fetch fetchResultHandler:(id /* block */)fetchResultHandler fetchDidCompleteHandler:(id /* block */)fetchDidCompleteHandler fetchFailedWithErrorHandler:(id /* block */)errorHandler; - (void)fetchDevices; - (void)fetchDevices:(id /* block */)fetchDevices; - (void)fetchDevicesDidFailWithError:(id)error; - (void)fetchDevicesWithRetryAttempt:(int)retryAttempt; - (void)fetchReaderMetadata; - (void)fetchingRequest:(id)fetchingRequest failedWithError:(id)error; - (id)initWithSensor:(id)sensor bundle:(id)bundle; - (id)initWithSensor:(id)sensor sensorDescription:(id)sensorDescription datastoreBackend:(id)datastoreBackend authorizationClient:(id)authorizationClient bundleId:(id)bundleId; - (Class)sampleClass; - (void)sensorReaderDidStopRecording; - (void)sensorReaderWillStartRecording; - (double)serviceStartTime; - (void)setAuthorizationClient:(id)authorizationClient; - (void)setBypassHoldingPeriod:(BOOL)bypassHoldingPeriod; - (void)setCanonicalSensor:(id)canonicalSensor; - (void)setDatastoreBackend:(id)datastoreBackend; - (void)setExportingSampleFromDescription:(id)description; - (void)setRequestedSensor:(id)requestedSensor; - (void)setSampleClassFromDescription:(id)description; - (void)set_lastModifiedAuthorizationTime:(id)set_lastModifiedAuthorizationTime; - (void)startRecordingFailedWithError:(id)error; - (void)startRecordingWithCompletionHandler:(id /* block */)completionHandler; - (void)stopRecordingFailedWithError:(id)error; - (void)stopRecordingWithCompletionHandler:(id /* block */)completionHandler; @end