-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataCortex.h
More file actions
42 lines (32 loc) · 1.08 KB
/
DataCortex.h
File metadata and controls
42 lines (32 loc) · 1.08 KB
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
//
// DataCortex.h
// cortex-ios-sdk
//
// Created by Yanko Bolanos on 10/4/15.
// Copyright (c) 2015 DataCortex. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <sys/utsname.h>
@interface DataCortex : NSObject
@property NSString *userTag;
@property NSString *facebookTag;
@property NSString *twitterTag;
@property NSString *googleTag;
@property NSString *gameCenterTag;
@property NSString *groupTag;
@property NSString *serverVer;
@property NSString *configVer;
+ (DataCortex *)sharedInstance;
+ (DataCortex *)sharedInstanceWithAPIKey:(NSString *)apiKey forOrg:(NSString *)org;
- (void)eventWithProperties:(NSDictionary *)properties;
- (void)economyWithProperties:(NSDictionary *)properties
spendCurrency:(NSString *)spendCurrency
spendAmount:(NSNumber *)spendAmount;
- (void)economyWithProperties:(NSDictionary *)properties
spendCurrency:(NSString *)spendCurrency
spendAmount:(NSNumber *)spendAmount
spendType:(NSString *)spendType;
- (void)appLogWithProperties:(NSDictionary *)properties;
- (NSString *)getDeviceTag;
@end