HIVE SDK for iOS

HIVEAnalytics.h
이 파일의 문서화 페이지로 가기
1 
16 #import <Foundation/Foundation.h>
17 
18 
27 typedef NS_ENUM(NSUInteger, HIVETrackingType) {
28 
29  kHIVETrackingTypeAdjust = 1 << 1,
30  kHIVETrackingTypeSingular = 1 << 3,
31  kHIVETrackingTypeUnknown = 1 << 4,
32 };
33 
39 @interface HIVETracker : NSObject
40 
41  @property (atomic) HIVETrackingType trackingType;
42  @property (strong, atomic) NSString* name;
43  @property (strong, atomic) NSString* trackingId;
44  @property (strong, atomic) NSString* trackingKey;
45  @property (strong, atomic) NSDictionary<NSString*, NSString*> *trackerEvents;
46  @property (strong, atomic) NSString* secretId;
47  @property (strong, atomic) NSString* secretInfo1;
48  @property (strong, atomic) NSString* secretInfo2;
49  @property (strong, atomic) NSString* secretInfo3;
50  @property (strong, atomic) NSString* secretInfo4;
51 
52 
53  - (NSString *)toJson;
54  + (NSString*)stringTrackingType:(HIVETrackingType)type;
55  + (HIVETrackingType)trackingTypeWithString:(NSString*)ignoringCaseTrackerName;
56 
57 @end
58 
59 
72 @interface HIVEAnalytics : NSObject
73 
86 +(BOOL)sendAnalyticsLog:(NSDictionary<NSString*, NSObject*>*) logData;
87 
101 +(void)setEnableTracker:(HIVETrackingType)trackingType enable:(BOOL)isEnable;
102 
114 +(void)sendEvent:(NSString*)event;
115 
116 // TODO: 주석 적기
117 +(NSUInteger)getRemainAnalyticsLogCount;
118 
122 +(void)sendTutorialComplete;
123 
124 
166 +(void)sendUserEntryFunnelsLogs:(NSString*) funnelTrack withOptions:(NSString*)optionTag;
167 
168 @end
169 
170 
트래커 설정 클래스
Definition: HIVEAnalytics.h:39
void sendTutorialComplete()
튜토리얼 완료 정보를 전송한다.
NSDictionary< NSString *, NSString * > * trackerEvents
트래커 이벤트 정의 모음
Definition: HIVEAnalytics.h:45
NSString * secretInfo3
Adjust Only #12673
Definition: HIVEAnalytics.h:49
typedef NS_ENUM(NSUInteger, HIVETrackingType)
사용자 분석을 위한 서드 파티 트래커 형태
Definition: HIVEAnalytics.h:27
NSString * secretInfo4
Adjust Only #12673
Definition: HIVEAnalytics.h:50
앱과 사용자를 트래킹하고 분석하기 위한 기능 모음 (User Tracking Tool Wrapper & Callect Analytics Log...
Definition: HIVEAnalytics.h:72
NSString * secretInfo1
Adjust Only #12673
Definition: HIVEAnalytics.h:47
NSString * name
트래커 이름
Definition: HIVEAnalytics.h:42
NSString * trackingId
트래커 계정
Definition: HIVEAnalytics.h:43
NSString * trackingKey
트래커 키
Definition: HIVEAnalytics.h:44
HIVETrackingType trackingType
트래커 형태
Definition: HIVEAnalytics.h:41
NSString * secretId
Adjust Only #12673
Definition: HIVEAnalytics.h:46
NSString * secretInfo2
Adjust Only #12673
Definition: HIVEAnalytics.h:48
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. 이용약관 개인정보 처리방침