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 |
|
49b883
|
19 |
#import "TargetConditionals.h" |
L |
20 |
|
|
21 |
#if !TARGET_OS_TV |
|
22 |
|
13e53a
|
23 |
#import <Foundation/Foundation.h> |
H |
24 |
|
|
25 |
NS_ASSUME_NONNULL_BEGIN |
|
26 |
|
|
27 |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 |
|
28 |
|
88188e
|
29 |
/** The name of the notification posted by FBSDKMeasurementEvent */ |
e81c27
|
30 |
FOUNDATION_EXPORT NSNotificationName const FBSDKMeasurementEventNotification |
H |
31 |
NS_SWIFT_NAME(MeasurementEvent); |
13e53a
|
32 |
|
H |
33 |
#else |
|
34 |
|
88188e
|
35 |
/** The name of the notification posted by FBSDKMeasurementEvent */ |
e81c27
|
36 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNotification |
H |
37 |
NS_SWIFT_NAME(MeasurementEventNotification); |
13e53a
|
38 |
|
H |
39 |
#endif |
|
40 |
|
88188e
|
41 |
/** Defines keys in the userInfo object for the notification named FBSDKMeasurementEventNotificationName */ |
L |
42 |
/** The string field for the name of the event */ |
e81c27
|
43 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventNameKey |
H |
44 |
NS_SWIFT_NAME(MeasurementEventNameKey); |
88188e
|
45 |
/** The dictionary field for the arguments of the event */ |
e81c27
|
46 |
FOUNDATION_EXPORT NSString *const FBSDKMeasurementEventArgsKey |
H |
47 |
NS_SWIFT_NAME(MeasurementEventArgsKey); |
13e53a
|
48 |
|
88188e
|
49 |
/** Events raised by FBSDKMeasurementEvent for Applink */ |
L |
50 |
/** |
13e53a
|
51 |
The name of the event posted when [FBSDKURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL. |
H |
52 |
*/ |
e81c27
|
53 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkParseEventName |
H |
54 |
NS_SWIFT_NAME(AppLinkParseEventName); |
13e53a
|
55 |
|
88188e
|
56 |
/** |
13e53a
|
57 |
The name of the event posted when [FBSDKURL URLWithInboundURL:] is called successfully. |
H |
58 |
This represents parsing an inbound app link URL from a different application |
|
59 |
*/ |
e81c27
|
60 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateInEventName |
H |
61 |
NS_SWIFT_NAME(AppLinkNavigateInEventName); |
13e53a
|
62 |
|
88188e
|
63 |
/** The event raised when the user navigates from your app to other apps */ |
e81c27
|
64 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateOutEventName |
H |
65 |
NS_SWIFT_NAME(AppLinkNavigateOutEventName); |
13e53a
|
66 |
|
88188e
|
67 |
/** |
13e53a
|
68 |
The event raised when the user navigates out from your app and back to the referrer app. |
H |
69 |
e.g when the user leaves your app after tapping the back-to-referrer navigation bar |
|
70 |
*/ |
e81c27
|
71 |
FOUNDATION_EXPORT NSString *const FBSDKAppLinkNavigateBackToReferrerEventName |
H |
72 |
NS_SWIFT_NAME(AppLinkNavigateBackToReferrerEventName); |
13e53a
|
73 |
|
e81c27
|
74 |
NS_SWIFT_NAME(MeasurementEvent) |
13e53a
|
75 |
@interface FBSDKMeasurementEvent : NSObject |
H |
76 |
|
|
77 |
@end |
|
78 |
|
|
79 |
NS_ASSUME_NONNULL_END |
49b883
|
80 |
|
L |
81 |
#endif |