Objective-CclassContactsFoundation

@interface CNEnvironment : CNEnvironmentBase

Structure

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

inherits{}

Members 88

  1. method+ (id)defaultEnvironment;
  2. method+ (char *)environmentStackKey;
  3. method+ (id)os_log;
  4. property@property(class, readonly) CNEnvironment *currentEnvironment;
  5. property@property(class, readonly) CNEnvironmentBase *defaultEnvironment;
  6. ivarBOOL _aquaSession;+0xc8
  7. ivarid <CNAuthorizationContext> _authorizationContext;+0x50
  8. ivarNSString *_currentCountryCode;+0x88
  9. ivarNSLocale *_currentLocaleOverride;+0x90
  10. ivarNSString *_currentRegionCode;+0x98
  11. ivarNSString *_defaultCountryCode;+0x78
  12. ivarNSDistributedNotificationCenter *_distributedNotificationCenter;+0x40
  13. ivarid <CNEntitlementVerification> _entitlementVerifier;+0x48
  14. ivarid <CNFeatureFlags> _featureFlags;+0x20
  15. ivarid <CNFileManager> _fileManager;+0x10
  16. ivarNSString *_homeCountryCode;+0x80
  17. ivarNSNumber *_isCommLimitsEnabledStorage;+0xb8
  18. ivarNSNumber *_isExtendedGreenTeaDeviceStorage;+0xa8
  19. ivarNSNumber *_isGreenTeaDeviceStorage;+0xb0
  20. ivarNSNumber *_isInternalBuildStorage;+0xa0
  21. ivarNSNumber *_isKeychainEnabledStorage;+0xc0
  22. ivarid <CNLocalizationServices> _localizationServices;+0x58
  23. ivarNSString *_mainBundleIdentifier;+0x70
  24. ivarNSNotificationCenter *_notificationCenter;+0x38
  25. ivarid <CNProbabilityUtility> _probabilityUtility;+0x60
  26. ivarid <CNSchedulerProvider> _schedulerProvider;+0x28
  27. ivarid <CNTimeProvider> _timeProvider;+0x30
  28. ivarCNUserDefaults *_userDefaults;+0x18
  29. ivarid <CNWatchdog> _watchdog;+0x68
  30. method- (void).cxx_destruct;
  31. method- (id)authorizationContext;
  32. method- (id)currentCountryCode;
  33. method- (id)currentLocale;
  34. method- (id)defaultCountryCode;
  35. method- (id)distributedNotificationCenter;
  36. method- (id)entitlementVerifier;
  37. method- (id)featureFlags;
  38. method- (id)fileManager;
  39. method- (id)getCurrentCountryCode;
  40. method- (id)getCurrentRegionCode;
  41. method- (id)getDefaultCountryCode;
  42. method- (id)getHomeCountryCode;
  43. method- (id)homeCountryCode;
  44. method- (id)init;
  45. method- (BOOL)isAquaSession;
  46. method- (BOOL)isCommLimitsEnabled;
  47. method- (BOOL)isCommLimitsEnabledImpl;
  48. method- (BOOL)isExtendedGreenTeaDevice;
  49. method- (BOOL)isGreenTeaDevice;
  50. method- (BOOL)isInternalBuild;
  51. method- (BOOL)isKeychainEnabled;
  52. method- (BOOL)isKeychainEnabledImpl;
  53. method- (id)keychainFacade;
  54. method- (id)localizationServices;
  55. method- (id)mainBundleIdentifier;
  56. method- (id)notificationCenter;
  57. method- (id)probabilityUtility;
  58. method- (id)schedulerProvider;
  59. method- (void)setValue:(id)arg0 forKey:(id)arg1;
  60. method- (id)timeProvider;
  61. method- (id)userDefaults;
  62. method- (id)valueForKey:(id)arg0 onCacheMiss:(id /* block */)arg1;
  63. method- (id)watchdog;
  64. property@property(getter=isAquaSession, readonly) BOOL aquaSession;
  65. property@property(readonly) id <CNAuthorizationContext> authorizationContext;
  66. property@property(getter=isCommLimitsEnabled, readonly) BOOL commLimitsEnabled;
  67. property@property(readonly) NSString *currentCountryCode;
  68. property@property(readonly) NSLocale *currentLocale;
  69. property@property(getter=getCurrentRegionCode, readonly) NSString *currentRegionCode;
  70. property@property(readonly) NSString *defaultCountryCode;
  71. property@property(readonly) NSDistributedNotificationCenter *distributedNotificationCenter;
  72. property@property(readonly) id <CNEntitlementVerification> entitlementVerifier;
  73. property@property(getter=isExtendedGreenTeaDevice, readonly) BOOL extendedGreenTeaDevice;
  74. property@property(readonly) id <CNFeatureFlags> featureFlags;
  75. property@property(readonly) id <CNFileManager> fileManager;
  76. property@property(getter=isGreenTeaDevice, readonly) BOOL greenTeaDevice;
  77. property@property(readonly) NSString *homeCountryCode;
  78. property@property(getter=isInternalBuild, readonly) BOOL internalBuild;
  79. property@property(getter=isKeychainEnabled, readonly) BOOL keychainEnabled;
  80. property@property(readonly, nonatomic) id <_TtP18ContactsFoundation24CNKeychainFacadeProtocol_> keychainFacade;
  81. property@property(readonly) id <CNLocalizationServices> localizationServices;
  82. property@property(readonly) NSString *mainBundleIdentifier;
  83. property@property(readonly) NSNotificationCenter *notificationCenter;
  84. property@property(readonly) id <CNProbabilityUtility> probabilityUtility;
  85. property@property(readonly) id <CNSchedulerProvider> schedulerProvider;
  86. property@property(readonly) id <CNTimeProvider> timeProvider;
  87. property@property(readonly) CNUserDefaults *userDefaults;
  88. property@property(readonly) id <CNWatchdog> watchdog;
@interface CNEnvironment : CNEnvironmentBase {
    id<CNFileManager> _fileManager;
    CNUserDefaults *_userDefaults;
    id<CNFeatureFlags> _featureFlags;
    id<CNSchedulerProvider> _schedulerProvider;
    id<CNTimeProvider> _timeProvider;
    NSNotificationCenter *_notificationCenter;
    NSDistributedNotificationCenter *_distributedNotificationCenter;
    id<CNEntitlementVerification> _entitlementVerifier;
    id<CNAuthorizationContext> _authorizationContext;
    id<CNLocalizationServices> _localizationServices;
    id<CNProbabilityUtility> _probabilityUtility;
    id<CNWatchdog> _watchdog;
    NSString *_mainBundleIdentifier;
    NSString *_defaultCountryCode;
    NSString *_homeCountryCode;
    NSString *_currentCountryCode;
    NSLocale *_currentLocaleOverride;
    NSString *_currentRegionCode;
    NSNumber *_isInternalBuildStorage;
    NSNumber *_isExtendedGreenTeaDeviceStorage;
    NSNumber *_isGreenTeaDeviceStorage;
    NSNumber *_isCommLimitsEnabledStorage;
    NSNumber *_isKeychainEnabledStorage;
    BOOL _aquaSession;
}

@property (class, readonly) CNEnvironment *currentEnvironment;
@property (class, readonly) CNEnvironmentBase *defaultEnvironment;

@property (nonatomic, readonly) id<_TtP18ContactsFoundation24CNKeychainFacadeProtocol_> keychainFacade;
@property (readonly) id<CNFileManager> fileManager;
@property (readonly) CNUserDefaults *userDefaults;
@property (readonly) id<CNFeatureFlags> featureFlags;
@property (readonly) id<CNSchedulerProvider> schedulerProvider;
@property (readonly) id<CNTimeProvider> timeProvider;
@property (readonly) NSNotificationCenter *notificationCenter;
@property (readonly) NSDistributedNotificationCenter *distributedNotificationCenter;
@property (readonly) id<CNEntitlementVerification> entitlementVerifier;
@property (readonly) id<CNAuthorizationContext> authorizationContext;
@property (readonly) id<CNLocalizationServices> localizationServices;
@property (readonly) id<CNProbabilityUtility> probabilityUtility;
@property (readonly) id<CNWatchdog> watchdog;
@property (readonly) NSString *mainBundleIdentifier;
@property (readonly) NSString *defaultCountryCode;
@property (readonly) NSString *homeCountryCode;
@property (readonly) NSString *currentCountryCode;
@property (readonly) NSLocale *currentLocale;
@property (getter=isInternalBuild, readonly) BOOL internalBuild;
@property (getter=isGreenTeaDevice, readonly) BOOL greenTeaDevice;
@property (getter=isExtendedGreenTeaDevice, readonly) BOOL extendedGreenTeaDevice;
@property (getter=getCurrentRegionCode, readonly) NSString *currentRegionCode;
@property (getter=isCommLimitsEnabled, readonly) BOOL commLimitsEnabled;
@property (getter=isKeychainEnabled, readonly) BOOL keychainEnabled;
@property (getter=isAquaSession, readonly) BOOL aquaSession;

+ (char *)environmentStackKey;
+ (id)os_log;
+ (id)defaultEnvironment;

- (id)notificationCenter;
- (id)mainBundleIdentifier;
- (id)watchdog;
- (id)featureFlags;
- (BOOL)isGreenTeaDevice;
- (id)fileManager;
- (BOOL)isInternalBuild;
- (id)userDefaults;
- (id)defaultCountryCode;
- (id)schedulerProvider;
- (void).cxx_destruct;
- (id)homeCountryCode;
- (id)currentLocale;
- (id)authorizationContext;
- (id)distributedNotificationCenter;
- (id)currentCountryCode;
- (id)init;
- (void)setValue:(id)value forKey:(id)forKey;
- (id)timeProvider;
- (id)entitlementVerifier;
- (id)probabilityUtility;
- (id)valueForKey:(id)key onCacheMiss:(id /* block */)onCacheMiss;
- (id)getCurrentCountryCode;
- (id)getCurrentRegionCode;
- (id)getDefaultCountryCode;
- (id)getHomeCountryCode;
- (BOOL)isAquaSession;
- (BOOL)isCommLimitsEnabled;
- (BOOL)isCommLimitsEnabledImpl;
- (BOOL)isExtendedGreenTeaDevice;
- (BOOL)isKeychainEnabled;
- (BOOL)isKeychainEnabledImpl;
- (id)keychainFacade;
- (id)localizationServices;

@end