forked from amplitude/Amplitude-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAmplitude.h
43 lines (25 loc) · 1.02 KB
/
Amplitude.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// Amplitude.h
// Fawkes
//
// Created by Spenser Skates on 7/26/12.
// Copyright (c) 2012 Sonalight, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Amplitude : NSObject
+ (void)initializeApiKey:(NSString*) apiKey;
+ (void)initializeApiKey:(NSString*) apiKey userId:(NSString*) userId;
+ (void)initializeApiKey:(NSString*) apiKey trackCampaignSource:(bool) trackCampaignSource;
+ (void)initializeApiKey:(NSString*) apiKey userId:(NSString*) userId trackCampaignSource:(bool) trackCampaignSource;
+ (void)enableCampaignTrackingApiKey:(NSString*) apiKey;
+ (NSDictionary*)getCampaignInformation;
+ (void)logEvent:(NSString*) eventType;
+ (void)logEvent:(NSString*) eventType withCustomProperties:(NSDictionary*) customProperties;
+ (void)logRevenue:(NSNumber*) amount;
+ (void)uploadEvents;
+ (void)setGlobalUserProperties:(NSDictionary*) globalProperties;
+ (void)setUserId:(NSString*) userId;
+ (void)enableLocationListening;
+ (void)disableLocationListening;
+ (void)printEventsCount;
@end