15 #import <Foundation/Foundation.h> 29 kHIVEPromotionViewResultTypeStartPlayback,
30 kHIVEPromotionViewResultTypeFinishPlayback,
85 typedef NS_ENUM(NSUInteger, HIVEOfferwallState) {
86 kHIVEOfferwallStateEnabled = 0,
87 kHIVEOfferwallStateDisabled,
88 kHIVEOfferwallStateUnknown,
98 typedef NS_ENUM(NSInteger, HIVEPromotionCampaignType) {
99 kHIVEPromotionCampaignTypeEvent = 0,
100 kHIVEPromotionCampaignTypeNotice,
110 typedef NS_ENUM(NSInteger, HIVEPromotionBannerType) {
111 kHIVEPromotionBannerTypeGreat = 0,
112 kHIVEPromotionBannerTypeSmall,
113 kHIVEPromotionBannerTypeRolling,
116 #pragma mark - HIVEPromotion Models 136 @property (nonatomic, strong, readonly) NSString *
badgeType;
139 - (NSString *)toJson;
152 @property (nonatomic, readonly) NSInteger pid;
153 @property (nonatomic, strong, readonly) NSString* imageUrl;
154 @property (nonatomic, strong, readonly) NSString* linkUrl;
155 @property (nonatomic, strong, readonly) NSString* displayStartDate;
156 @property (nonatomic, strong, readonly) NSString* displayEndDate;
157 @property (nonatomic, readonly) NSInteger utcStartDate;
158 @property (nonatomic, readonly) NSInteger utcEndDate;
159 @property (nonatomic, strong, readonly) NSString* typeLink;
160 @property (nonatomic, strong, readonly) NSString* typeBanner;
162 + (instancetype)initWithData:(NSDictionary *)data;
183 @property (nonatomic, strong, readonly) NSString *url;
184 @property (nonatomic, strong, readonly) NSString *postString;
186 + (instancetype)infoWithResponse:(NSDictionary *)data;
187 - (NSString *)toJson;
257 #pragma mark - HIVEAppInvitation Models 273 @property (nonatomic, copy) NSData *qrcode;
275 @property (nonatomic, copy) NSString *inviteCommonLink;
276 @property (nonatomic, copy) NSString *inviteHivemsgLink;
277 @property (nonatomic, copy) NSString *inviteFacebookLink;
278 @property (nonatomic, copy) NSString *inviteMessage;
279 @property (nonatomic, copy) NSArray<HIVEAppInvitationCampaign *> *eachCampaigns;
280 @property (nonatomic, copy) NSArray<HIVEAppInvitationCampaignStage *> *stageCampaigns;
282 @property (nonatomic, copy) NSString *originalJson;
284 + (instancetype)infoWithData:(NSDictionary *)data;
285 - (NSString *)toJson;
301 @interface HIVEAppInvitationCampaign : NSObject <NSCopying>
303 @property (nonatomic, copy) NSString *title;
304 @property (nonatomic, copy) NSString *desc;
305 @property (nonatomic, copy) NSString *imgURL;
307 @property (nonatomic, copy) NSDictionary *item;
309 @property (nonatomic) NSInteger count;
310 @property (nonatomic) NSInteger limit;
312 + (instancetype)campaignWithData:(NSDictionary *)data;
313 - (NSString *)toJson;
331 @property (nonatomic) NSInteger goalCount;
332 @property (nonatomic) NSInteger goalTotal;
335 + (instancetype)campaignWithData:(NSDictionary *)data;
336 - (NSString *)toJson;
356 #pragma mark - HIVEUserEngagement Models 367 typedef NS_ENUM(NSUInteger, HIVEEngagementEventType) {
368 kHIVEEngagementEventType = 0,
370 kHIVEEngagementEventTypePromotionView = 1,
371 kHIVEEngagementEventTypeOfferwallView = 2,
372 kHIVEEngagementEventTypeUserAcquistion = 3,
373 kHIVEEngagementEventTypeCoupon = 4,
375 kHIVEEngagementEventTypeAuthLoginView = 5,
377 kHIVEEngagementEventTypeSocialCafeView = 6,
378 kHIVEEngagementEventTypeSocialInquiryView = 7,
379 kHIVEEngagementEventTypeSocialInvitation = 8,
380 kHIVEEngagementEventTypeSocialMessage = 9,
382 kHIVEEngagementEventTypeEvent = 10,
385 kHIVEEngagementEventTypeIapPurchase = 12,
386 kHIVEEngagementEventTypeIapPromote = 13,
388 kHIVEEngagementEventTypePromotionCompanion = 14
401 typedef NS_ENUM(NSUInteger, HIVEEngagementEventState) {
402 kHIVEEngagementStateBegin = 0,
403 kHIVEEngagementStateFinish = 1,
404 kHIVEEngagementStateEventStart = 2,
405 kHIVEEngagementStateEventEnd = 3,
431 #pragma mark - HIVEPromotion Interface 579 + (void)getBannerInfo:(HIVEPromotionCampaignType)campaignType bannerType:(HIVEPromotionBannerType)bannerType handler:(
HIVEPromotionBannerInfoHandler)handler;
615 + (void)showUAShare:(NSString *)inviteMessage inviteLink:(NSString *)inviteLink handler:(
HIVEPromotionShareHandler)handler;
634 + (void)setAdditionalInfo:(NSString *)additionalInfo;
640 #pragma mark - HIVEPromotion UserEngagement Interface 686 + (BOOL)processURI:(NSURL *)URI;
앱 초대를 위한 캠패인 정보 캠페인은 초대에 대한 보상을 달상하기 위한 조건을 명시한 데이터...
Definition: HIVEPromotion.h:301
앱 초대(UserAcquisition)를 위한 정보.
Definition: HIVEPromotion.h:271
Definition: HIVEResultAPI.h:25
앱 초대를 위한 캠페인 정보 캠페인은 초대에 대한 보상을 달성하기 위한 조건을 명시한 데이터...
Definition: HIVEPromotion.h:329