Objective-CclassPhotosUICore

@interface PXContentPrivacyController : PXObservable <PXChangeObserver, PXPhotoLibraryUIChangeObserver, PXSettingsKeyObserver>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 162

  1. method+ (unsigned long long)automaticAuthenticationBehaviorFromInternalSettings;
  2. method+ (unsigned long long)lockStateForCollection:(id)arg0;
  3. method+ (id)privacyControllerForCollection:(id)arg0;
  4. method+ (void)tearDownPrivacyControllersIfNeeded;
  5. ivarid <PXDisplayCollection> _assetCollectionToObserve;+0xa8
  6. ivarid /* block */ _authChallengeHandlerForTesting;+0xf0
  7. ivarBOOL _authenticationAttemptDidFailOrWasCancelled;+0x64
  8. ivarNSMutableArray *_authenticationStack;+0xb0
  9. ivarlong long _authenticationType;+0x70
  10. ivarPXSystemAuthenticationTypeObserver *_authenticationTypeObserver;+0x80
  11. ivarunsigned long long _autolockReason;+0xa0
  12. ivarNSTimer *_autolockTimer;+0x98
  13. ivarunsigned long long _automaticAuthenticationBehavior;+0x68
  14. ivarunsigned long long _cachedAuthenticationStackCount;+0xb8
  15. ivarBOOL _contentPrivacyEnabled;+0x60
  16. ivarNSNumber *_contentPrivacyEnabledNumberForTesting;+0xc0
  17. ivarLAContext *_currentAuthenticationContext;+0x88
  18. ivarBOOL _hasPerformedAuthenticationInStack;+0x63
  19. ivarBOOL _locked;+0x61
  20. ivarNSString *_logIdentifier;+0x78
  21. ivarNSMutableSet *_observers;+0x90
  22. ivarNSNumber *_testingOverride_authenticationType;+0xc8
  23. ivarNSNumber *_testingOverride_autolockTimeout;+0xe8
  24. ivarNSNumber *_testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;+0xe0
  25. ivarNSNumber *_testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;+0xd8
  26. ivarNSNumber *_testingOverride_shouldPerformAuthenticationOnAppearing;+0xd0
  27. ivarBOOL _willPerformAuthenticationAutomatically;+0x62
  28. method- (void).cxx_destruct;
  29. method- (void)_beginObservingApplicationStateChangesAndSystemEvents;
  30. method- (void)_beginObservingAssetCollectionChanges;
  31. method- (void)_beginObservingContentPrivacyPrefs;
  32. method- (long long)_calculateAuthenticationTypeWithForcedUpdate:(BOOL)arg0;
  33. method- (void)_cancelAuthentication;
  34. method- (void)_cancelDelayedLockIfNeededWithReason:(id)arg0;
  35. method- (void)_finishAuthenticationChallengeWithCompletionHandler:(id /* block */)arg0 success:(BOOL)arg1 error:(id)arg2;
  36. method- (BOOL)_isContentPrivacyPrefEnabled;
  37. method- (void)_lockOrCancelAuthenticationIfNeeded;
  38. method- (void)_lockWithReasonForLogging:(id)arg0;
  39. method- (void)_logCurrentAuthenticationStack;
  40. method- (void)_performDelayedAuthenticationTypeUpdate;
  41. method- (void)_performUserAuthenticationIfNeededAfterForegrounding;
  42. method- (void)_performUserAuthenticationWithTitle:(id)arg0 passcodeTitle:(id)arg1 passcodeSubtitle:(id)arg2 reason:(id)arg3 callerPID:(int)arg4 callerName:(id)arg5 completion:(id /* block */)arg6;
  43. method- (void)_preferencesDidChange;
  44. method- (void)_startAutolockTimerForReason:(unsigned long long)arg0 resetIfActive:(BOOL)arg1;
  45. method- (void)_stopAutolockTimer;
  46. method- (void)_stopObservingApplicationStateChanges;
  47. method- (void)_stopObservingAssetCollectionChanges;
  48. method- (void)_stopObservingContentPrivacyPrefs;
  49. method- (void)_updateAuthenticationType;
  50. method- (void)_updateCachedAuthenticationStackCount;
  51. method- (void)_updateContentPrivacyEnabled;
  52. method- (void)_updateWillPerformAuthenticationAutomatically;
  53. method- (void)addContextToStack:(id)arg0;
  54. method- (void)applicationDidEnterBackground;
  55. method- (void)applicationWillEnterForeground;
  56. method- (id)assetCollectionToObserve;
  57. method- (id /* block */)authChallengeHandlerForTesting;
  58. method- (BOOL)authenticationAttemptDidFailOrWasCancelled;
  59. method- (id)authenticationStack;
  60. method- (long long)authenticationType;
  61. method- (id)authenticationTypeObserver;
  62. method- (unsigned long long)autolockReason;
  63. method- (double)autolockTimeout;
  64. method- (id)autolockTimer;
  65. method- (unsigned long long)automaticAuthenticationBehavior;
  66. method- (unsigned long long)cachedAuthenticationStackCount;
  67. method- (void)cancelAuthentication;
  68. method- (void)cancelDelayedLockIfNeeded;
  69. method- (void)clearAuthenticationStack;
  70. method- (void)commonInitWithLogIdentifier:(id)arg0 automaticAuthenticationBehavior:(unsigned long long)arg1;
  71. method- (id)contentPrivacyEnabledNumberForTesting;
  72. method- (id)currentAuthenticationContext;
  73. method- (void)dealloc;
  74. method- (BOOL)hasPerformedAuthenticationInStack;
  75. method- (void)hostApplicationDidBecomeActiveFromNotification:(id)arg0;
  76. method- (void)hostApplicationWillResignActiveFromNotification:(id)arg0;
  77. method- (id)identifier;
  78. method- (id)initWithAssetCollectionToObserve:(id)arg0 logIdentifier:(id)arg1;
  79. method- (id)initWithContentPrivacyEnabledForTesting:(id)arg0 availableAuthenticationTypeForTesting:(id)arg1 assetCollectionToObserveForTesting:(id)arg2 automaticAuthenticationBehaviorForTesting:(unsigned long long)arg3;
  80. method- (id)initWithLogIdentifier:(id)arg0;
  81. method- (BOOL)isContentPrivacyEnabled;
  82. method- (BOOL)isDelayedLockScheduled;
  83. method- (BOOL)isLocked;
  84. method- (BOOL)isPerformingAuthentication;
  85. method- (BOOL)isRunningInExtension;
  86. method- (void)lockImmediately;
  87. method- (id)logIdentifier;
  88. method- (void)observable:(id)arg0 didChange:(unsigned long long)arg1 context:(void *)arg2;
  89. method- (id)observers;
  90. method- (void)performUserAuthenticationIfNeededFromContext:(id)arg0;
  91. method- (void)performUserAuthenticationIfNeededWithLocalizedReason:(id)arg0 completion:(id /* block */)arg1;
  92. method- (void)performUserAuthenticationIfNeededWithTitle:(id)arg0 passcodeTitle:(id)arg1 passcodeSubtitle:(id)arg2 completion:(id /* block */)arg3;
  93. method- (void)photoLibraryDidChangeOnMainQueue:(id)arg0;
  94. method- (void)removeContextFromStack:(id)arg0;
  95. method- (void)resetHasPerformedAuthenticationInStack;
  96. method- (void)scheduleAuthenticationStackCountUpdate;
  97. method- (void)scheduleDelayedLock;
  98. method- (void)setAssetCollectionToObserve:(id)arg0;
  99. method- (void)setAssetCollectionToObserveForTesting:(id)arg0;
  100. method- (void)setAuthChallengeHandlerForTesting:(id /* block */)arg0;
  101. method- (void)setAuthenticationAttemptDidFailOrWasCancelled:(BOOL)arg0;
  102. method- (void)setAuthenticationType:(long long)arg0;
  103. method- (void)setAutolockReason:(unsigned long long)arg0;
  104. method- (void)setAutolockTimer:(id)arg0;
  105. method- (void)setAutomaticAuthenticationBehavior:(unsigned long long)arg0;
  106. method- (void)setCachedAuthenticationStackCount:(unsigned long long)arg0;
  107. method- (void)setContentPrivacyEnabled:(BOOL)arg0;
  108. method- (void)setContentPrivacyEnabledNumberForTesting:(id)arg0;
  109. method- (void)setCurrentAuthenticationContext:(id)arg0;
  110. method- (void)setHasPerformedAuthenticationInStack:(BOOL)arg0;
  111. method- (void)setLocked:(BOOL)arg0;
  112. method- (void)setObservers:(id)arg0;
  113. method- (void)setTestingOverride_authenticationType:(id)arg0;
  114. method- (void)setTestingOverride_autolockTimeout:(id)arg0;
  115. method- (void)setTestingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy:(id)arg0;
  116. method- (void)setTestingOverride_shouldOnlyPerformAutomaticAuthenticationOnce:(id)arg0;
  117. method- (void)setTestingOverride_shouldPerformAuthenticationOnAppearing:(id)arg0;
  118. method- (void)setWillPerformAuthenticationAutomatically:(BOOL)arg0;
  119. method- (void)settings:(id)arg0 changedValueForKey:(id)arg1;
  120. method- (BOOL)shouldLockAfterDelayWhenLeavingViewHierarchy;
  121. method- (BOOL)shouldOnlyPerformAutomaticAuthenticationOnceInStack;
  122. method- (BOOL)shouldPerformAuthenticationUponAppearing;
  123. method- (id)testingOverride_authenticationType;
  124. method- (id)testingOverride_autolockTimeout;
  125. method- (id)testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;
  126. method- (id)testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
  127. method- (id)testingOverride_shouldPerformAuthenticationOnAppearing;
  128. method- (void)unlock;
  129. method- (void)updateAuthenticationTypeImmediately;
  130. method- (void)viewDidAppearForAuthenticationContext:(id)arg0;
  131. method- (void)viewDidDisappearForAuthenticationContext:(id)arg0 withNavigationState:(unsigned long long)arg1;
  132. method- (BOOL)willPerformAuthenticationAutomatically;
  133. property@property(retain, nonatomic) id <PXDisplayCollection> assetCollectionToObserve;
  134. property@property(copy, nonatomic) id /* block */ authChallengeHandlerForTesting;
  135. property@property(nonatomic) BOOL authenticationAttemptDidFailOrWasCancelled;
  136. property@property(readonly, nonatomic) NSMutableArray *authenticationStack;
  137. property@property(readonly, nonatomic) long long authenticationType;
  138. property@property(readonly, nonatomic) PXSystemAuthenticationTypeObserver *authenticationTypeObserver;
  139. property@property(nonatomic) unsigned long long autolockReason;
  140. property@property(retain, nonatomic) NSTimer *autolockTimer;
  141. property@property(nonatomic) unsigned long long automaticAuthenticationBehavior;
  142. property@property(nonatomic) unsigned long long cachedAuthenticationStackCount;
  143. property@property(getter=isContentPrivacyEnabled, readonly, nonatomic) BOOL contentPrivacyEnabled;
  144. property@property(retain, nonatomic) NSNumber *contentPrivacyEnabledNumberForTesting;
  145. property@property(retain, nonatomic) LAContext *currentAuthenticationContext;
  146. property@property(readonly, copy) NSString *debugDescription;
  147. property@property(getter=isDelayedLockScheduled, readonly, nonatomic) BOOL delayedLockScheduled;
  148. property@property(readonly, copy) NSString *description;
  149. property@property(nonatomic) BOOL hasPerformedAuthenticationInStack;
  150. property@property(readonly) unsigned long long hash;
  151. property@property(readonly, nonatomic) NSString *identifier;
  152. property@property(getter=isLocked, readonly, nonatomic) BOOL locked;
  153. property@property(readonly, nonatomic) NSString *logIdentifier;
  154. property@property(retain, nonatomic) NSMutableSet *observers;
  155. property@property(getter=isPerformingAuthentication, readonly, nonatomic) BOOL performingAuthentication;
  156. property@property(readonly) Class superclass;
  157. property@property(retain, nonatomic) NSNumber *testingOverride_authenticationType;
  158. property@property(retain, nonatomic) NSNumber *testingOverride_autolockTimeout;
  159. property@property(retain, nonatomic) NSNumber *testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;
  160. property@property(retain, nonatomic) NSNumber *testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
  161. property@property(retain, nonatomic) NSNumber *testingOverride_shouldPerformAuthenticationOnAppearing;
  162. property@property(readonly, nonatomic) BOOL willPerformAuthenticationAutomatically;
@interface PXContentPrivacyController : PXObservable <PXChangeObserver, PXPhotoLibraryUIChangeObserver, PXSettingsKeyObserver> {
    BOOL _contentPrivacyEnabled;
    BOOL _locked;
    BOOL _willPerformAuthenticationAutomatically;
    BOOL _hasPerformedAuthenticationInStack;
    BOOL _authenticationAttemptDidFailOrWasCancelled;
    unsigned long long _automaticAuthenticationBehavior;
    long long _authenticationType;
    NSString *_logIdentifier;
    PXSystemAuthenticationTypeObserver *_authenticationTypeObserver;
    LAContext *_currentAuthenticationContext;
    NSMutableSet *_observers;
    NSTimer *_autolockTimer;
    unsigned long long _autolockReason;
    id<PXDisplayCollection> _assetCollectionToObserve;
    NSMutableArray *_authenticationStack;
    unsigned long long _cachedAuthenticationStackCount;
    NSNumber *_contentPrivacyEnabledNumberForTesting;
    NSNumber *_testingOverride_authenticationType;
    NSNumber *_testingOverride_shouldPerformAuthenticationOnAppearing;
    NSNumber *_testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
    NSNumber *_testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;
    NSNumber *_testingOverride_autolockTimeout;
    id /* block */ _authChallengeHandlerForTesting;
}

@property (nonatomic, readonly) NSString *logIdentifier;
@property (nonatomic, readonly) PXSystemAuthenticationTypeObserver *authenticationTypeObserver;
@property (nonatomic, strong) LAContext *currentAuthenticationContext;
@property (nonatomic, strong) NSMutableSet *observers;
@property (nonatomic, strong) NSTimer *autolockTimer;
@property (nonatomic) unsigned long long autolockReason;
@property (nonatomic, strong) id<PXDisplayCollection> assetCollectionToObserve;
@property (nonatomic, readonly) NSMutableArray *authenticationStack;
@property (nonatomic) unsigned long long cachedAuthenticationStackCount;
@property (nonatomic) BOOL hasPerformedAuthenticationInStack;
@property (nonatomic) BOOL authenticationAttemptDidFailOrWasCancelled;
@property (nonatomic, strong) NSNumber *contentPrivacyEnabledNumberForTesting;
@property (nonatomic, strong) NSNumber *testingOverride_authenticationType;
@property (nonatomic, strong) NSNumber *testingOverride_shouldPerformAuthenticationOnAppearing;
@property (nonatomic, strong) NSNumber *testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
@property (nonatomic, strong) NSNumber *testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;
@property (nonatomic, strong) NSNumber *testingOverride_autolockTimeout;
@property (nonatomic, copy) id /* block */ authChallengeHandlerForTesting;
@property (nonatomic, readonly) NSString *identifier;
@property (nonatomic, getter=isContentPrivacyEnabled, readonly) BOOL contentPrivacyEnabled;
@property (nonatomic, getter=isLocked, readonly) BOOL locked;
@property (nonatomic) unsigned long long automaticAuthenticationBehavior;
@property (nonatomic, readonly) BOOL willPerformAuthenticationAutomatically;
@property (nonatomic, getter=isPerformingAuthentication, readonly) BOOL performingAuthentication;
@property (nonatomic, getter=isDelayedLockScheduled, readonly) BOOL delayedLockScheduled;
@property (nonatomic, readonly) long long authenticationType;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy, readonly) NSString *description;
@property (copy, readonly) NSString *debugDescription;

+ (id)privacyControllerForCollection:(id)collection;
+ (void)tearDownPrivacyControllersIfNeeded;
+ (unsigned long long)automaticAuthenticationBehaviorFromInternalSettings;
+ (unsigned long long)lockStateForCollection:(id)collection;

- (void)applicationDidEnterBackground;
- (void)photoLibraryDidChangeOnMainQueue:(id)mainQueue;
- (id)initWithLogIdentifier:(id)logIdentifier;
- (void)_stopAutolockTimer;
- (long long)authenticationType;
- (id)initWithAssetCollectionToObserve:(id)observe logIdentifier:(id)logIdentifier;
- (void)performUserAuthenticationIfNeededWithTitle:(id)title passcodeTitle:(id)passcodeTitle passcodeSubtitle:(id)passcodeSubtitle completion:(id /* block */)completion;
- (void)setAutomaticAuthenticationBehavior:(unsigned long long)automaticAuthenticationBehavior;
- (void)setAuthenticationAttemptDidFailOrWasCancelled:(BOOL)authenticationAttemptDidFailOrWasCancelled;
- (void)_beginObservingApplicationStateChangesAndSystemEvents;
- (void)_stopObservingApplicationStateChanges;
- (BOOL)shouldOnlyPerformAutomaticAuthenticationOnceInStack;
- (void)applicationWillEnterForeground;
- (void)setCachedAuthenticationStackCount:(unsigned long long)cachedAuthenticationStackCount;
- (id)testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;
- (BOOL)isLocked;
- (void)setAssetCollectionToObserve:(id)observe;
- (id)testingOverride_shouldPerformAuthenticationOnAppearing;
- (void)setContentPrivacyEnabledNumberForTesting:(id)testing;
- (double)autolockTimeout;
- (void)setTestingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy:(id)delayWhenLeavingViewHierarchy;
- (void)clearAuthenticationStack;
- (void)unlock;
- (void)setTestingOverride_shouldPerformAuthenticationOnAppearing:(id)appearing;
- (void)setLocked:(BOOL)locked;
- (void)setWillPerformAuthenticationAutomatically:(BOOL)willPerformAuthenticationAutomatically;
- (void)setCurrentAuthenticationContext:(id)currentAuthenticationContext;
- (void)setTestingOverride_shouldOnlyPerformAutomaticAuthenticationOnce:(id)testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
- (void)viewDidAppearForAuthenticationContext:(id)authenticationContext;
- (void)_updateContentPrivacyEnabled;
- (id)autolockTimer;
- (void)commonInitWithLogIdentifier:(id)logIdentifier automaticAuthenticationBehavior:(unsigned long long)automaticAuthenticationBehavior;
- (id)initWithContentPrivacyEnabledForTesting:(id)testing availableAuthenticationTypeForTesting:(id)testing assetCollectionToObserveForTesting:(id)testing automaticAuthenticationBehaviorForTesting:(unsigned long long)testing;
- (BOOL)isContentPrivacyEnabled;
- (void)setAuthChallengeHandlerForTesting:(id /* block */)testing;
- (void)setContentPrivacyEnabled:(BOOL)contentPrivacyEnabled;
- (id /* block */)authChallengeHandlerForTesting;
- (BOOL)isRunningInExtension;
- (void)_cancelDelayedLockIfNeededWithReason:(id)reason;
- (void)settings:(id)settings changedValueForKey:(id)key;
- (void)setAutolockTimer:(id)autolockTimer;
- (BOOL)_isContentPrivacyPrefEnabled;
- (void)scheduleDelayedLock;
- (void)_stopObservingAssetCollectionChanges;
- (BOOL)authenticationAttemptDidFailOrWasCancelled;
- (unsigned long long)autolockReason;
- (void)_beginObservingContentPrivacyPrefs;
- (void)_cancelAuthentication;
- (void)_lockWithReasonForLogging:(id)logging;
- (id)assetCollectionToObserve;
- (void).cxx_destruct;
- (void)_finishAuthenticationChallengeWithCompletionHandler:(id /* block */)completionHandler success:(BOOL)success error:(id)error;
- (void)scheduleAuthenticationStackCountUpdate;
- (BOOL)shouldLockAfterDelayWhenLeavingViewHierarchy;
- (long long)_calculateAuthenticationTypeWithForcedUpdate:(BOOL)forcedUpdate;
- (void)hostApplicationWillResignActiveFromNotification:(id)notification;
- (void)_stopObservingContentPrivacyPrefs;
- (void)_updateCachedAuthenticationStackCount;
- (void)dealloc;
- (id)testingOverride_autolockTimeout;
- (id)authenticationTypeObserver;
- (void)observable:(id)observable didChange:(unsigned long long)didChange context:(void *)context;
- (id)currentAuthenticationContext;
- (void)cancelDelayedLockIfNeeded;
- (BOOL)shouldPerformAuthenticationUponAppearing;
- (void)_startAutolockTimerForReason:(unsigned long long)reason resetIfActive:(BOOL)resetIfActive;
- (void)resetHasPerformedAuthenticationInStack;
- (void)setHasPerformedAuthenticationInStack:(BOOL)stack;
- (void)_lockOrCancelAuthenticationIfNeeded;
- (id)testingOverride_authenticationType;
- (void)_updateAuthenticationType;
- (BOOL)isPerformingAuthentication;
- (void)setObservers:(id)observers;
- (unsigned long long)automaticAuthenticationBehavior;
- (void)hostApplicationDidBecomeActiveFromNotification:(id)notification;
- (void)updateAuthenticationTypeImmediately;
- (void)_performDelayedAuthenticationTypeUpdate;
- (unsigned long long)cachedAuthenticationStackCount;
- (void)removeContextFromStack:(id)stack;
- (void)cancelAuthentication;
- (void)performUserAuthenticationIfNeededFromContext:(id)context;
- (id)observers;
- (void)setAutolockReason:(unsigned long long)autolockReason;
- (id)identifier;
- (void)setTestingOverride_autolockTimeout:(id)testingOverride_autolockTimeout;
- (void)setAuthenticationType:(long long)authenticationType;
- (void)setAssetCollectionToObserveForTesting:(id)testing;
- (id)logIdentifier;
- (void)_performUserAuthenticationWithTitle:(id)title passcodeTitle:(id)passcodeTitle passcodeSubtitle:(id)passcodeSubtitle reason:(id)reason callerPID:(int)callerPID callerName:(id)callerName completion:(id /* block */)completion;
- (void)_preferencesDidChange;
- (BOOL)willPerformAuthenticationAutomatically;
- (BOOL)hasPerformedAuthenticationInStack;
- (id)contentPrivacyEnabledNumberForTesting;
- (BOOL)isDelayedLockScheduled;
- (void)lockImmediately;
- (id)testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;
- (id)authenticationStack;
- (void)addContextToStack:(id)stack;
- (void)_logCurrentAuthenticationStack;
- (void)_beginObservingAssetCollectionChanges;
- (void)setTestingOverride_authenticationType:(id)testingOverride_authenticationType;
- (void)performUserAuthenticationIfNeededWithLocalizedReason:(id)localizedReason completion:(id /* block */)completion;
- (void)_performUserAuthenticationIfNeededAfterForegrounding;
- (void)viewDidDisappearForAuthenticationContext:(id)authenticationContext withNavigationState:(unsigned long long)withNavigationState;
- (void)_updateWillPerformAuthenticationAutomatically;

@end