HIVE SDK for Unreal Engine

HivePromotion.h
Go to the documentation of this file.
1
14#pragma once
15
16#include "CoreMinimal.h"
17#include "Impl/HivePromotionImpl.h"
18
19HIVESDK_API IHivePromotionImpl* GetPromotionInstance();
20
31class HIVESDK_API FHivePromotion
32{
33public:
58 static void ShowPromotion(const EHivePromotionType& PromotionType, bool IsForced, const FHivePromotionViewDelegate& Delegate);
59
74 static void ShowCustomContents(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionViewDelegate& Delegate);
75
90 static void ShowCustomContentsOnGameWindow(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionViewDelegate& Delegate);
91
105
120 static void ShowOfferwall(const FHivePromotionViewDelegate& Delegate);
121
133 static void ShowNews(const FString& Menu, const TArray<int32>& GiftPidList, const FHivePromotionViewDelegate& Delegate);
134
149 static void ShowNativeReview();
150
165 static void ShowReview(const FHivePromotionViewDelegate& Delegate);
166
179 static void ShowExit(const FHivePromotionViewDelegate& Delegate);
180
192 static void GetViewInfo(const EHivePromotionCustomType& PromotionCustomType, const FString& ContentsKey, const FHivePromotionOnViewInfoDelegate& Delegate);
193
206 static void GetBadgeInfo(const FHivePromotionOnBadgeInfoDelegate& Delegate);
207
223 static void GetBannerInfo(const EHivePromotionCampaignType& CampaignType, const EHivePromotionBannerType& BannerType, const FHivePromotionOnBannerInfoDelegate& Delegate);
224
240 static void GetBannerInfoString(const FString& CampaignString, const FString& BannerString, const FHivePromotionOnBannerInfoDelegate& Delegate);
241
261 static void GetAppInvitationData(const FHivePromotionOnAppInvitationDataDelegate& Delegate);
262
279 static void SetAdditionalInfo(const FString& AdditionalInfo);
280
297 static TOptional<FHiveResultAPI> SetEngagementReady(bool IsReady);
298
311 static bool ProcessURI(const FString& URI);
312
319 static void SetEngagementDelegate(const FHivePromotionOnEngagementDelegate& Delegate);
320
334 static void ShowUAShare(const FString& InviteMessage, const FString& InviteLink, const FHivePromotionOnUAShareDelegate& Delegate);
335
346 static void UpdatePromotionData();
347
359 static void GetAppInvitationSenderInfo(const FHivePromotionOnAppInvitationSenderInfoDelegate& Delegate);
360};
HIVE Promotion provides you with the ability to effectively expose new news or events to the game use...
Definition: HivePromotion.h:32
static void ShowReview(const FHivePromotionViewDelegate &Delegate)
Show review popup Positive ratings and reviews of game users will affect other users' use of the ga...
static void GetBannerInfoString(const FString &CampaignString, const FString &BannerString, const FHivePromotionOnBannerInfoDelegate &Delegate)
Request banner information Request banner information for a specific promotion.
static void ShowNews(const FString &Menu, const TArray< int32 > &GiftPidList, const FHivePromotionViewDelegate &Delegate)
Shows banner such as new event of game or introduce new game.
static EHiveOfferwallState GetOfferwallState()
Returns whether the button is available to invoke an offerwall (free recharging station) within the g...
static bool ProcessURI(const FString &URI)
Parse the URI to make it an Event type.
static void GetAppInvitationSenderInfo(const FHivePromotionOnAppInvitationSenderInfoDelegate &Delegate)
return first sender's userInfo who sent UA share invitation First sender's information can be returne...
static TOptional< FHiveResultAPI > SetEngagementReady(bool IsReady)
It sets whether Engagement event handling is enabled.
static void GetViewInfo(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionOnViewInfoDelegate &Delegate)
Request HIVE Promotion Webview information so that your UI of webview is configured according to the ...
static void UpdatePromotionData()
/~korean Promotion 정보 갱신 Promotion 새소식 페이지 등의 노출에 필요한 정보를 갱신한다.
EHiveOfferwallState
Information of Offerwall(free charging station) button.
Definition: HivePromotionTypes.h:68
static void ShowNativeReview()
Show review popup Positive ratings and reviews of game users will affect other users' use of the ga...
static void GetBadgeInfo(const FHivePromotionOnBadgeInfoDelegate &Delegate)
Request badge information The promotional badge is information that highlights the button UI of the ...
static void ShowExit(const FHivePromotionViewDelegate &Delegate)
Show exit popup (Android only) Expose exit popup which include a button called "More games" to lead ...
static void ShowPromotion(const EHivePromotionType &PromotionType, bool IsForced, const FHivePromotionViewDelegate &Delegate)
Shows banner such as new event of game or introduce new game.
static void ShowOfferwall(const FHivePromotionViewDelegate &Delegate)
Show Offerwall(Free recharging station) (Android only.) The Offerwall (free recharge station) is an ...
EHivePromotionType
Types of Promotion view.
Definition: HivePromotionTypes.h:21
static void ShowUAShare(const FString &InviteMessage, const FString &InviteLink, const FHivePromotionOnUAShareDelegate &Delegate)
Show dialog to share UA url via SNS.
static void SetAdditionalInfo(const FString &AdditionalInfo)
You can set a string in JSON format when you want to expose a specific event page in the Promotion Vi...
EHivePromotionBannerType
Banner type selected before requesting rolling banner data.
Definition: HivePromotionTypes.h:153
EHivePromotionCustomType
Types of Promotion CustomView.
Definition: HivePromotionTypes.h:53
static void SetEngagementDelegate(const FHivePromotionOnEngagementDelegate &Delegate)
It register the Engagement listener.
static void ShowCustomContents(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionViewDelegate &Delegate)
Show custom Webview to use external content.
static void ShowCustomContentsOnGameWindow(const EHivePromotionCustomType &PromotionCustomType, const FString &ContentsKey, const FHivePromotionViewDelegate &Delegate)
Show custom Webview to use external content.
EHivePromotionCampaignType
Campaign type selected before requesting rolling banner data.
Definition: HivePromotionTypes.h:138
static void GetBannerInfo(const EHivePromotionCampaignType &CampaignType, const EHivePromotionBannerType &BannerType, const FHivePromotionOnBannerInfoDelegate &Delegate)
Request banner information Request banner information for a specific promotion.
static void GetAppInvitationData(const FHivePromotionOnAppInvitationDataDelegate &Delegate)
Request user invite information User acquisition information is provided to attract more users in th...
Copyright © Com2uS Platform Corporation. All Right Reserved. Terms of Use Privacy Policy