FBSDKAppEventsConfigurationProtocol.h 971 B

12345678910111213141516171819202122232425262728293031323334
  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. NS_ASSUME_NONNULL_BEGIN
  10. /**
  11. Internal type exposed to facilitate transition to Swift.
  12. API Subject to change or removal without warning. Do not use.
  13. @warning INTERNAL - DO NOT USE
  14. */
  15. NS_SWIFT_NAME(_AppEventsConfigurationProtocol)
  16. @protocol FBSDKAppEventsConfiguration
  17. @property (nonatomic, readonly, assign) FBSDKAdvertisingTrackingStatus defaultATEStatus;
  18. @property (nonatomic, readonly, assign) BOOL advertiserIDCollectionEnabled;
  19. @property (nonatomic, readonly, assign) BOOL eventCollectionEnabled;
  20. - (instancetype)init NS_UNAVAILABLE;
  21. + (instancetype)new NS_UNAVAILABLE;
  22. - (instancetype)initWithJSON:(nullable NSDictionary<NSString *, id> *)dict;
  23. + (instancetype)defaultConfiguration;
  24. @end
  25. NS_ASSUME_NONNULL_END