FBSDKAppEventsStatePersisting.h 830 B

123456789101112131415161718192021222324252627282930
  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. @class FBSDKAppEventsState;
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Internal type exposed to facilitate transition to Swift.
  13. API Subject to change or removal without warning. Do not use.
  14. @warning INTERNAL - DO NOT USE
  15. */
  16. NS_SWIFT_NAME(_AppEventsStatePersisting)
  17. @protocol FBSDKAppEventsStatePersisting
  18. - (void)clearPersistedAppEventsStates;
  19. - (void)persistAppEventsData:(FBSDKAppEventsState *)appEventsState;
  20. // patternlint-disable-next-line objc-headers-collection-generics
  21. - (NSArray<id> *)retrievePersistedAppEventsStates; // NSArray<FBSDKAppEventsState *>
  22. @end
  23. NS_ASSUME_NONNULL_END