Objective-CclassPhotosUICore
PXContentPrivacyController
@interface PXContentPrivacyController : PXObservable <PXChangeObserver, PXPhotoLibraryUIChangeObserver, PXSettingsKeyObserver>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classPXObservable
- protocolPXChangeObserver
- protocolPXPhotoLibraryUIChangeObserver
- protocolPXSettingsKeyObserver
Members 162
- method
+ (unsigned long long)automaticAuthenticationBehaviorFromInternalSettings; - method
+ (unsigned long long)lockStateForCollection:(id)arg0; - method
+ (id)privacyControllerForCollection:(id)arg0; - method
+ (void)tearDownPrivacyControllersIfNeeded; - ivar
id <PXDisplayCollection> _assetCollectionToObserve;+0xa8 - ivar
id /* block */ _authChallengeHandlerForTesting;+0xf0 - ivar
BOOL _authenticationAttemptDidFailOrWasCancelled;+0x64 - ivar
NSMutableArray *_authenticationStack;+0xb0 - ivar
long long _authenticationType;+0x70 - ivar
PXSystemAuthenticationTypeObserver *_authenticationTypeObserver;+0x80 - ivar
unsigned long long _autolockReason;+0xa0 - ivar
NSTimer *_autolockTimer;+0x98 - ivar
unsigned long long _automaticAuthenticationBehavior;+0x68 - ivar
unsigned long long _cachedAuthenticationStackCount;+0xb8 - ivar
BOOL _contentPrivacyEnabled;+0x60 - ivar
NSNumber *_contentPrivacyEnabledNumberForTesting;+0xc0 - ivar
LAContext *_currentAuthenticationContext;+0x88 - ivar
BOOL _hasPerformedAuthenticationInStack;+0x63 - ivar
BOOL _locked;+0x61 - ivar
NSString *_logIdentifier;+0x78 - ivar
NSMutableSet *_observers;+0x90 - ivar
NSNumber *_testingOverride_authenticationType;+0xc8 - ivar
NSNumber *_testingOverride_autolockTimeout;+0xe8 - ivar
NSNumber *_testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy;+0xe0 - ivar
NSNumber *_testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce;+0xd8 - ivar
NSNumber *_testingOverride_shouldPerformAuthenticationOnAppearing;+0xd0 - ivar
BOOL _willPerformAuthenticationAutomatically;+0x62 - method
- (void).cxx_destruct; - method
- (void)_beginObservingApplicationStateChangesAndSystemEvents; - method
- (void)_beginObservingAssetCollectionChanges; - method
- (void)_beginObservingContentPrivacyPrefs; - method
- (long long)_calculateAuthenticationTypeWithForcedUpdate:(BOOL)arg0; - method
- (void)_cancelAuthentication; - method
- (void)_cancelDelayedLockIfNeededWithReason:(id)arg0; - method
- (void)_finishAuthenticationChallengeWithCompletionHandler:(id /* block */)arg0 success:(BOOL)arg1 error:(id)arg2; - method
- (BOOL)_isContentPrivacyPrefEnabled; - method
- (void)_lockOrCancelAuthenticationIfNeeded; - method
- (void)_lockWithReasonForLogging:(id)arg0; - method
- (void)_logCurrentAuthenticationStack; - method
- (void)_performDelayedAuthenticationTypeUpdate; - method
- (void)_performUserAuthenticationIfNeededAfterForegrounding; - method
- (void)_performUserAuthenticationWithTitle:(id)arg0 passcodeTitle:(id)arg1 passcodeSubtitle:(id)arg2 reason:(id)arg3 callerPID:(int)arg4 callerName:(id)arg5 completion:(id /* block */)arg6; - method
- (void)_preferencesDidChange; - method
- (void)_startAutolockTimerForReason:(unsigned long long)arg0 resetIfActive:(BOOL)arg1; - method
- (void)_stopAutolockTimer; - method
- (void)_stopObservingApplicationStateChanges; - method
- (void)_stopObservingAssetCollectionChanges; - method
- (void)_stopObservingContentPrivacyPrefs; - method
- (void)_updateAuthenticationType; - method
- (void)_updateCachedAuthenticationStackCount; - method
- (void)_updateContentPrivacyEnabled; - method
- (void)_updateWillPerformAuthenticationAutomatically; - method
- (void)addContextToStack:(id)arg0; - method
- (void)applicationDidEnterBackground; - method
- (void)applicationWillEnterForeground; - method
- (id)assetCollectionToObserve; - method
- (id /* block */)authChallengeHandlerForTesting; - method
- (BOOL)authenticationAttemptDidFailOrWasCancelled; - method
- (id)authenticationStack; - method
- (long long)authenticationType; - method
- (id)authenticationTypeObserver; - method
- (unsigned long long)autolockReason; - method
- (double)autolockTimeout; - method
- (id)autolockTimer; - method
- (unsigned long long)automaticAuthenticationBehavior; - method
- (unsigned long long)cachedAuthenticationStackCount; - method
- (void)cancelAuthentication; - method
- (void)cancelDelayedLockIfNeeded; - method
- (void)clearAuthenticationStack; - method
- (void)commonInitWithLogIdentifier:(id)arg0 automaticAuthenticationBehavior:(unsigned long long)arg1; - method
- (id)contentPrivacyEnabledNumberForTesting; - method
- (id)currentAuthenticationContext; - method
- (void)dealloc; - method
- (BOOL)hasPerformedAuthenticationInStack; - method
- (void)hostApplicationDidBecomeActiveFromNotification:(id)arg0; - method
- (void)hostApplicationWillResignActiveFromNotification:(id)arg0; - method
- (id)identifier; - method
- (id)initWithAssetCollectionToObserve:(id)arg0 logIdentifier:(id)arg1; - method
- (id)initWithContentPrivacyEnabledForTesting:(id)arg0 availableAuthenticationTypeForTesting:(id)arg1 assetCollectionToObserveForTesting:(id)arg2 automaticAuthenticationBehaviorForTesting:(unsigned long long)arg3; - method
- (id)initWithLogIdentifier:(id)arg0; - method
- (BOOL)isContentPrivacyEnabled; - method
- (BOOL)isDelayedLockScheduled; - method
- (BOOL)isLocked; - method
- (BOOL)isPerformingAuthentication; - method
- (BOOL)isRunningInExtension; - method
- (void)lockImmediately; - method
- (id)logIdentifier; - method
- (void)observable:(id)arg0 didChange:(unsigned long long)arg1 context:(void *)arg2; - method
- (id)observers; - method
- (void)performUserAuthenticationIfNeededFromContext:(id)arg0; - method
- (void)performUserAuthenticationIfNeededWithLocalizedReason:(id)arg0 completion:(id /* block */)arg1; - method
- (void)performUserAuthenticationIfNeededWithTitle:(id)arg0 passcodeTitle:(id)arg1 passcodeSubtitle:(id)arg2 completion:(id /* block */)arg3; - method
- (void)photoLibraryDidChangeOnMainQueue:(id)arg0; - method
- (void)removeContextFromStack:(id)arg0; - method
- (void)resetHasPerformedAuthenticationInStack; - method
- (void)scheduleAuthenticationStackCountUpdate; - method
- (void)scheduleDelayedLock; - method
- (void)setAssetCollectionToObserve:(id)arg0; - method
- (void)setAssetCollectionToObserveForTesting:(id)arg0; - method
- (void)setAuthChallengeHandlerForTesting:(id /* block */)arg0; - method
- (void)setAuthenticationAttemptDidFailOrWasCancelled:(BOOL)arg0; - method
- (void)setAuthenticationType:(long long)arg0; - method
- (void)setAutolockReason:(unsigned long long)arg0; - method
- (void)setAutolockTimer:(id)arg0; - method
- (void)setAutomaticAuthenticationBehavior:(unsigned long long)arg0; - method
- (void)setCachedAuthenticationStackCount:(unsigned long long)arg0; - method
- (void)setContentPrivacyEnabled:(BOOL)arg0; - method
- (void)setContentPrivacyEnabledNumberForTesting:(id)arg0; - method
- (void)setCurrentAuthenticationContext:(id)arg0; - method
- (void)setHasPerformedAuthenticationInStack:(BOOL)arg0; - method
- (void)setLocked:(BOOL)arg0; - method
- (void)setObservers:(id)arg0; - method
- (void)setTestingOverride_authenticationType:(id)arg0; - method
- (void)setTestingOverride_autolockTimeout:(id)arg0; - method
- (void)setTestingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy:(id)arg0; - method
- (void)setTestingOverride_shouldOnlyPerformAutomaticAuthenticationOnce:(id)arg0; - method
- (void)setTestingOverride_shouldPerformAuthenticationOnAppearing:(id)arg0; - method
- (void)setWillPerformAuthenticationAutomatically:(BOOL)arg0; - method
- (void)settings:(id)arg0 changedValueForKey:(id)arg1; - method
- (BOOL)shouldLockAfterDelayWhenLeavingViewHierarchy; - method
- (BOOL)shouldOnlyPerformAutomaticAuthenticationOnceInStack; - method
- (BOOL)shouldPerformAuthenticationUponAppearing; - method
- (id)testingOverride_authenticationType; - method
- (id)testingOverride_autolockTimeout; - method
- (id)testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy; - method
- (id)testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce; - method
- (id)testingOverride_shouldPerformAuthenticationOnAppearing; - method
- (void)unlock; - method
- (void)updateAuthenticationTypeImmediately; - method
- (void)viewDidAppearForAuthenticationContext:(id)arg0; - method
- (void)viewDidDisappearForAuthenticationContext:(id)arg0 withNavigationState:(unsigned long long)arg1; - method
- (BOOL)willPerformAuthenticationAutomatically; - property
@property(retain, nonatomic) id <PXDisplayCollection> assetCollectionToObserve; - property
@property(copy, nonatomic) id /* block */ authChallengeHandlerForTesting; - property
@property(nonatomic) BOOL authenticationAttemptDidFailOrWasCancelled; - property
@property(readonly, nonatomic) NSMutableArray *authenticationStack; - property
@property(readonly, nonatomic) long long authenticationType; - property
@property(readonly, nonatomic) PXSystemAuthenticationTypeObserver *authenticationTypeObserver; - property
@property(nonatomic) unsigned long long autolockReason; - property
@property(retain, nonatomic) NSTimer *autolockTimer; - property
@property(nonatomic) unsigned long long automaticAuthenticationBehavior; - property
@property(nonatomic) unsigned long long cachedAuthenticationStackCount; - property
@property(getter=isContentPrivacyEnabled, readonly, nonatomic) BOOL contentPrivacyEnabled; - property
@property(retain, nonatomic) NSNumber *contentPrivacyEnabledNumberForTesting; - property
@property(retain, nonatomic) LAContext *currentAuthenticationContext; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(getter=isDelayedLockScheduled, readonly, nonatomic) BOOL delayedLockScheduled; - property
@property(readonly, copy) NSString *description; - property
@property(nonatomic) BOOL hasPerformedAuthenticationInStack; - property
@property(readonly) unsigned long long hash; - property
@property(readonly, nonatomic) NSString *identifier; - property
@property(getter=isLocked, readonly, nonatomic) BOOL locked; - property
@property(readonly, nonatomic) NSString *logIdentifier; - property
@property(retain, nonatomic) NSMutableSet *observers; - property
@property(getter=isPerformingAuthentication, readonly, nonatomic) BOOL performingAuthentication; - property
@property(readonly) Class superclass; - property
@property(retain, nonatomic) NSNumber *testingOverride_authenticationType; - property
@property(retain, nonatomic) NSNumber *testingOverride_autolockTimeout; - property
@property(retain, nonatomic) NSNumber *testingOverride_shouldLockAfterDelayWhenLeavingViewHierarchy; - property
@property(retain, nonatomic) NSNumber *testingOverride_shouldOnlyPerformAutomaticAuthenticationOnce; - property
@property(retain, nonatomic) NSNumber *testingOverride_shouldPerformAuthenticationOnAppearing; - property
@property(readonly, nonatomic) BOOL willPerformAuthenticationAutomatically;
Header
@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