1 |
efrain |
1 |
/*
|
|
|
2 |
* Copyright 2018 Google
|
|
|
3 |
*
|
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
|
6 |
* You may obtain a copy of the License at
|
|
|
7 |
*
|
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
9 |
*
|
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13 |
* See the License for the specific language governing permissions and
|
|
|
14 |
* limitations under the License.
|
|
|
15 |
*/
|
|
|
16 |
|
|
|
17 |
#import <Foundation/Foundation.h>
|
|
|
18 |
|
|
|
19 |
/// @file FIRInteropParameterNames.h
|
|
|
20 |
///
|
|
|
21 |
/// Predefined event parameter names used by Firebase. This file is a subset of the
|
|
|
22 |
/// FirebaseAnalytics FIRParameterNames.h public header.
|
|
|
23 |
///
|
|
|
24 |
/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban
|
|
|
25 |
/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your
|
|
|
26 |
/// property. Highly recommended (String).
|
|
|
27 |
/// <pre>
|
|
|
28 |
/// let params = [
|
|
|
29 |
/// kFIRParameterSource : "InMobi",
|
|
|
30 |
/// // ...
|
|
|
31 |
/// ]
|
|
|
32 |
/// </pre>
|
|
|
33 |
static NSString *const kFIRIParameterSource NS_SWIFT_NAME(AnalyticsParameterSource) = @"source";
|
|
|
34 |
|
|
|
35 |
/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended
|
|
|
36 |
/// (String).
|
|
|
37 |
/// <pre>
|
|
|
38 |
/// let params = [
|
|
|
39 |
/// kFIRParameterMedium : "email",
|
|
|
40 |
/// // ...
|
|
|
41 |
/// ]
|
|
|
42 |
/// </pre>
|
|
|
43 |
static NSString *const kFIRIParameterMedium NS_SWIFT_NAME(AnalyticsParameterMedium) = @"medium";
|
|
|
44 |
|
|
|
45 |
/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to
|
|
|
46 |
/// capture campaign information, otherwise can be populated by developer. Highly Recommended
|
|
|
47 |
/// (String).
|
|
|
48 |
/// <pre>
|
|
|
49 |
/// let params = [
|
|
|
50 |
/// kFIRParameterCampaign : "winter_promotion",
|
|
|
51 |
/// // ...
|
|
|
52 |
/// ]
|
|
|
53 |
/// </pre>
|
|
|
54 |
static NSString *const kFIRIParameterCampaign NS_SWIFT_NAME(AnalyticsParameterCampaign) =
|
|
|
55 |
@"campaign";
|
|
|
56 |
|
|
|
57 |
/// Message identifier.
|
|
|
58 |
static NSString *const kFIRIParameterMessageIdentifier = @"_nmid";
|
|
|
59 |
|
|
|
60 |
/// Message name.
|
|
|
61 |
static NSString *const kFIRIParameterMessageName = @"_nmn";
|
|
|
62 |
|
|
|
63 |
/// Message send time.
|
|
|
64 |
static NSString *const kFIRIParameterMessageTime = @"_nmt";
|
|
|
65 |
|
|
|
66 |
/// Message device time.
|
|
|
67 |
static NSString *const kFIRIParameterMessageDeviceTime = @"_ndt";
|
|
|
68 |
|
|
|
69 |
/// Topic message.
|
|
|
70 |
static NSString *const kFIRIParameterTopic = @"_nt";
|
|
|
71 |
|
|
|
72 |
/// Stores the message_id of the last notification opened by the app.
|
|
|
73 |
static NSString *const kFIRIUserPropertyLastNotification = @"_ln";
|