BFMeasurementEvent.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (c) 2014, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #import <Foundation/Foundation.h>
  11. /*! The name of the notification posted by BFMeasurementEvent */
  12. FOUNDATION_EXPORT NSString *const BFMeasurementEventNotificationName;
  13. /*! Defines keys in the userInfo object for the notification named BFMeasurementEventNotificationName */
  14. /*! The string field for the name of the event */
  15. FOUNDATION_EXPORT NSString *const BFMeasurementEventNameKey;
  16. /*! The dictionary field for the arguments of the event */
  17. FOUNDATION_EXPORT NSString *const BFMeasurementEventArgsKey;
  18. /*! Bolts Events raised by BFMeasurementEvent for Applink */
  19. /*!
  20. The name of the event posted when [BFURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL.
  21. */
  22. FOUNDATION_EXPORT NSString *const BFAppLinkParseEventName;
  23. /*!
  24. The name of the event posted when [BFURL URLWithInboundURL:] is called successfully.
  25. This represents parsing an inbound app link URL from a different application
  26. */
  27. FOUNDATION_EXPORT NSString *const BFAppLinkNavigateInEventName;
  28. /*! The event raised when the user navigates from your app to other apps */
  29. FOUNDATION_EXPORT NSString *const BFAppLinkNavigateOutEventName;
  30. /*!
  31. The event raised when the user navigates out from your app and back to the referrer app.
  32. e.g when the user leaves your app after tapping the back-to-referrer navigation bar
  33. */
  34. FOUNDATION_EXPORT NSString *const BFAppLinkNavigateBackToReferrerEventName;
  35. @interface BFMeasurementEvent : NSObject
  36. @end