FBSDKEventLogging.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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/FBSDKAppEventName.h>
  10. #import <FBSDKCoreKit/FBSDKAppEventParameterName.h>
  11. #import <FBSDKCoreKit/FBSDKAppEventsFlushReason.h>
  12. #import <FBSDKCoreKit/FBSDKAppEventsFlushBehavior.h>
  13. @class FBSDKAccessToken;
  14. /**
  15. Internal Type exposed to facilitate transition to Swift.
  16. API Subject to change or removal without warning. Do not use.
  17. @warning INTERNAL - DO NOT USE
  18. */
  19. NS_ASSUME_NONNULL_BEGIN
  20. NS_SWIFT_NAME(EventLogging)
  21. @protocol FBSDKEventLogging
  22. @property (nonatomic, readonly) FBSDKAppEventsFlushBehavior flushBehavior;
  23. - (void)flushForReason:(FBSDKAppEventsFlushReason)flushReason;
  24. - (void)logEvent:(FBSDKAppEventName)eventName
  25. parameters:(nullable NSDictionary<FBSDKAppEventParameterName, id> *)parameters;
  26. - (void)logEvent:(FBSDKAppEventName)eventName
  27. valueToSum:(double)valueToSum
  28. parameters:(nullable NSDictionary<FBSDKAppEventParameterName, id> *)parameters;
  29. - (void)logInternalEvent:(FBSDKAppEventName)eventName
  30. isImplicitlyLogged:(BOOL)isImplicitlyLogged;
  31. - (void)logInternalEvent:(FBSDKAppEventName)eventName
  32. parameters:(nullable NSDictionary<FBSDKAppEventParameterName, id> *)parameters
  33. isImplicitlyLogged:(BOOL)isImplicitlyLogged;
  34. - (void)logInternalEvent:(FBSDKAppEventName)eventName
  35. parameters:(nullable NSDictionary<FBSDKAppEventParameterName, id> *)parameters
  36. isImplicitlyLogged:(BOOL)isImplicitlyLogged
  37. accessToken:(nullable FBSDKAccessToken *)accessToken;
  38. - (void)logInternalEvent:(FBSDKAppEventName)eventName
  39. valueToSum:(double)valueToSum
  40. isImplicitlyLogged:(BOOL)isImplicitlyLogged;
  41. @end
  42. NS_ASSUME_NONNULL_END