HIVE SDK for Android

Classes | Public Member Functions | Static Public Member Functions | List of all members
com.hive.Promotion Class Reference

HIVE Promotion provides you with the ability to effectively expose new news or events to the game user. More...

Classes

class  AppInvitationCampaign
 Campaign information for invite
Campaigns are data that specifies the conditions for rewarding invites. More...
 
class  AppInvitationData
 Promotion reward information
(When showOfferwall () is called, it sends a reward request and displays Offerwall on the screen after receiving a response.) More...
 
interface  AppInvitationDataListener
 Return information about request for user invite (UserAcquisition) More...
 
enum  EngagementEventState
 The status that HIVE SDK engages clients in certain conditions. More...
 
enum  EngagementEventType
 Function type of UserEngagement. More...
 
interface  EngagementListener
 SDK 가 특정한 조건에서 클라이언트에 개입 (Engagement) 하기 위한 이벤트 리스너. More...
 
enum  OfferwallState
 Information of Offerwall(free charging station) button. More...
 
class  PromotionBadge
 Badge information to inform users that new promotions are registered. More...
 
interface  PromotionBadgeInfoListener
 HIVE Promotion badge information. More...
 
enum  PromotionBadgeTarget
 Information on which promotional badge is displayed
If NOTICE, it should indicate the badge related to the notice. More...
 
class  PromotionBanner
 Banner information for a specific promotion. More...
 
interface  PromotionBannerInfoListener
 HIVE Promotion banner information. More...
 
enum  PromotionCustomType
 Types of Promotion CustomView. More...
 
interface  PromotionShareListener
 Returns HIVE UA Share information. More...
 
class  PromotionViewInfo
 Information of Promotion webview
(Information to customize your promotion Webview UI) More...
 
interface  PromotionViewInfoListener
 Results for additional information lookups for promotions. More...
 
interface  PromotionViewListener
 Results for promotion view APK call. More...
 
enum  PromotionViewResultType
 Promotion view event types. More...
 
enum  PromotionViewType
 Types of Promotion view. More...
 
enum  PromotionWebviewType
 Defines the format to display the promotion type of webview. More...
 

Public Member Functions

boolean processURI (String uri)
 URI를 파싱하여 Event 타입으로 만든다. More...
 

Static Public Member Functions

static void showPromotion (PromotionViewType promotionType, Boolean isForced, PromotionViewListener listener)
 Shows banner such as new event of game or introduce new game. More...
 
static void showCustomContents (PromotionCustomType promotionCustomType, String contentsKey, PromotionViewListener listener)
 Show custom Webview to use external content. More...
 
static OfferwallState getOfferwallState ()
 Returns whether the button is available to invoke an offerwall (free recharging station) within the game. More...
 
static void showOfferwall (PromotionViewListener listener)
 Show Offerwall(Free recharging station) (Android only.)
The Offerwall (free recharge station) is an advertising network between HIVE games, which enables existing HIVE users to use the new HIVE game. More...
 
static void showNativeReview ()
 Show review popup
Positive ratings and reviews of game users will affect other users' use of the game. More...
 
static void showExit (PromotionViewListener listener)
 Show exit popup (Android only)
Expose exit popup which include a button called "More games" to lead users to download a new HIVE game. More...
 
static void getViewInfo (PromotionCustomType promotionCustomType, String content_key, PromotionViewInfoListener listener)
 Request HIVE Promotion Webview information so that your UI of webview is configured according to the concept of game UI
More...
 
static void getBadgeInfo (PromotionBadgeInfoListener listener)
 Request badge information
The promotional badge is information that highlights the button UI of the game to inform the user that a new promotion has been registered. More...
 
static void getBannerInfo (PromotionCampaignType campaignType, PromotionBannerType bannerType, PromotionBannerInfoListener listener)
 Request banner information
Request banner information for a specific promotion. More...
 
static void getAppInvitationData (AppInvitationDataListener listener)
 Request user invite information
User acquisition information is provided to attract more users in the game. More...
 
static void showUAShare (String inviteMessage, String inviteLink, PromotionShareListener listener)
 Show dialog to share UA url via SNS. More...
 
static void setAdditionalInfo (String additionalInfo)
 You can set a string in JSON format when you want to expose a specific event page in the Promotion View or want to pass additional information to the Promotion Server. More...
 
static ResultAPI setEngagementReady (boolean bReady)
 It sets whether Engagement event handling is enabled. More...
 
static void setEngagementListener (EngagementListener listener)
 It register the Engagement listener. More...
 

Detailed Description

HIVE Promotion provides you with the ability to effectively expose new news or events to the game user.


Promotion view (notice, event), reward (coupon, deep link), exit popup (Android), free charging station(Offerwall)

Author
ryuvsken
Since
4.0.0

Member Function Documentation

§ processURI()

boolean com.hive.Promotion.processURI ( String  uri)

URI를 파싱하여 Event 타입으로 만든다.

Parameters
uri파싱할 URI
Returns
파싱에 문제가 없으면 true, 아니면 false.

The documentation for this class was generated from the following file:
Copyright © GAMEVIL COM2US PLATFORM Inc. All Right Reserved. Terms of Use Privacy Policy