FBSDKAppEventsConfiguration.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. #import <Foundation/Foundation.h>
  9. #import <FBSDKCoreKit/FBSDKAdvertisingTrackingStatus.h>
  10. #import <FBSDKCoreKit/FBSDKAppEventsConfigurationProtocol.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. Internal type exposed to facilitate transition to Swift.
  14. API Subject to change or removal without warning. Do not use.
  15. @warning INTERNAL - DO NOT USE
  16. */
  17. NS_SWIFT_NAME(_AppEventsConfiguration)
  18. @interface FBSDKAppEventsConfiguration : NSObject <NSCopying, NSObject, NSSecureCoding, FBSDKAppEventsConfiguration>
  19. @property (nonatomic, readonly, assign) FBSDKAdvertisingTrackingStatus defaultATEStatus;
  20. @property (nonatomic, readonly, assign) BOOL advertiserIDCollectionEnabled;
  21. @property (nonatomic, readonly, assign) BOOL eventCollectionEnabled;
  22. - (instancetype)init NS_UNAVAILABLE;
  23. + (instancetype)new NS_UNAVAILABLE;
  24. - (instancetype)initWithJSON:(nullable NSDictionary<NSString *, id> *)dict;
  25. + (instancetype)defaultConfiguration;
  26. @end
  27. NS_ASSUME_NONNULL_END