commit | author | age
|
13e53a
|
1 |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. |
H |
2 |
// |
|
3 |
// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, |
|
4 |
// copy, modify, and distribute this software in source code or binary form for use |
|
5 |
// in connection with the web services and APIs provided by Facebook. |
|
6 |
// |
|
7 |
// As with any software that integrates with the Facebook platform, your use of |
|
8 |
// this software is subject to the Facebook Developer Principles and Policies |
|
9 |
// [http://developers.facebook.com/policy/]. This copyright notice shall be |
|
10 |
// included in all copies or substantial portions of the software. |
|
11 |
// |
|
12 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
13 |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
|
14 |
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
|
15 |
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
|
16 |
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
|
17 |
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
18 |
|
|
19 |
#import <Foundation/Foundation.h> |
|
20 |
|
|
21 |
NS_ASSUME_NONNULL_BEGIN |
|
22 |
|
|
23 |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 |
|
24 |
|
|
25 |
/*! The name of the notification posted by FBSDKMeasurementEvent */ |
e81c27
|
26 |
FOUNDATION_EXPORT NSNotificationName const FBSDKMeasurementEventNotification |
H |
27 |
NS_SWIFT_NAME(MeasurementEvent); |
13e53a
|
28 |
|
H |
29 |
#else |
|
30 |
|
|
31 |
/*! The name of the notification posted by FBSDKMeasurementEvent */ |
e81c27
|
32 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNotification |
H |
33 |
NS_SWIFT_NAME(MeasurementEventNotification); |
13e53a
|
34 |
|
H |
35 |
#endif |
|
36 |
|
|
37 |
/*! Defines keys in the userInfo object for the notification named FBSDKMeasurementEventNotificationName */ |
|
38 |
/*! The string field for the name of the event */ |
e81c27
|
39 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNameKey |
H |
40 |
NS_SWIFT_NAME(MeasurementEventNameKey); |
13e53a
|
41 |
/*! The dictionary field for the arguments of the event */ |
e81c27
|
42 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventArgsKey |
H |
43 |
NS_SWIFT_NAME(MeasurementEventArgsKey); |
13e53a
|
44 |
|
H |
45 |
/*! Events raised by FBSDKMeasurementEvent for Applink */ |
|
46 |
/*! |
|
47 |
The name of the event posted when [FBSDKURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL. |
|
48 |
*/ |
e81c27
|
49 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkParseEventName |
H |
50 |
NS_SWIFT_NAME(AppLinkParseEventName); |
13e53a
|
51 |
|
H |
52 |
/*! |
|
53 |
The name of the event posted when [FBSDKURL URLWithInboundURL:] is called successfully. |
|
54 |
This represents parsing an inbound app link URL from a different application |
|
55 |
*/ |
e81c27
|
56 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateInEventName |
H |
57 |
NS_SWIFT_NAME(AppLinkNavigateInEventName); |
13e53a
|
58 |
|
H |
59 |
/*! The event raised when the user navigates from your app to other apps */ |
e81c27
|
60 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateOutEventName |
H |
61 |
NS_SWIFT_NAME(AppLinkNavigateOutEventName); |
13e53a
|
62 |
|
H |
63 |
/*! |
|
64 |
The event raised when the user navigates out from your app and back to the referrer app. |
|
65 |
e.g when the user leaves your app after tapping the back-to-referrer navigation bar |
|
66 |
*/ |
e81c27
|
67 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateBackToReferrerEventName |
H |
68 |
NS_SWIFT_NAME(AppLinkNavigateBackToReferrerEventName); |
13e53a
|
69 |
|
e81c27
|
70 |
NS_SWIFT_NAME(MeasurementEvent) |
13e53a
|
71 |
@interface FBSDKMeasurementEvent : NSObject |
H |
72 |
|
|
73 |
@end |
|
74 |
|
|
75 |
NS_ASSUME_NONNULL_END |