HIVE IAP can minimize the development costs of the market-specific purchase process and collect purchase logs consistently to provide information to business, development, and management departments. More...
#include <HIVE_IAPV4.h>
Public Types | |
typedef std::function< void(ResultAPI const &result, std::vector< IAPV4Type > const &marketIDs)> | onMarketConnect |
HIVE IAPV4 Market information request result callback. More... | |
typedef std::function< void(ResultAPI const &result, std::vector< IAPV4Product > const &iapV4ProductList, unsigned int balance)> | onGetProductInfo |
HIVE IAPV4 Product Information request callback. More... | |
typedef std::function< void(ResultAPI const &result, IAPV4Receipt const &iapV4Receipt)> | onPurchase |
Purchase request result callback The purchase of HIVE IAPV4 will require a marketPid registered in the App Store and Google Store. More... | |
typedef std::function< void(ResultAPI const &result, std::vector< std::reference_wrapper< IAPV4Receipt > > const &iapv4ReceiptList)> | onRestore |
HIVE IAPV4 Restore request result callback It may happen that the item delivery fails due to various situations in the product purchase process. More... | |
typedef std::function< void(ResultAPI const &result, std::string marketPid)> | onTransactionFinish |
HIVE IAP v4 Transaction Finish request result callback More... | |
typedef std::function< void(ResultAPI const &result, std::string marketPid)> | onCheckPromotePurchase |
typedef std::function< void(std::vector< ResultAPI > const &resultList, std::vector< std::string > const &marketPidList)> | onTransactionMultiFinish |
HIVE IAP v4 Multiple Transaction Finish request result callback More... | |
typedef std::function< void(ResultAPI const &result, int balance)> | onBalance |
HIVE Lebi Balance request result callback, if it is a Rebi store. More... | |
typedef std::function< void(int responseCode)> | onInAppMessages |
Google In-App Offers. More... | |
Static Public Member Functions | |
static void | marketConnect (onMarketConnect listener) |
IAPV4 It initialize IAPV4 Purchase module. More... | |
static void | getMarketProductInfo (std::vector< std::string > const &marketPidList, onGetProductInfo listener) |
Apple Appstore It returns information for composition of the product. More... | |
static void | getProductInfo (onGetProductInfo listener) |
HIVE IAPV4 It returns information for composition of the product. More... | |
static void | getSubscriptionProductInfo (onGetProductInfo listener) |
HIVE IAPV4 It returns information for composition of the product. More... | |
static void | purchase (std::string marketPid, std::string iapPayload, onPurchase listener) |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store. More... | |
static void | purchaseSubscriptionUpdate (std::string marketPid, std::string oldMarketPid, std::string iapPayload, onPurchase listener) |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store. More... | |
static void | purchaseSubscription (IAPV4PurchaseParam param, onPurchase listener) |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store. More... | |
static void | restore (onRestore listener) |
HIVE IAPV4 It restore the item that has not been delivered. More... | |
static void | restoreSubscription (onRestore listener) |
HIVE IAPV4 It restore the item that has not been delivered. More... | |
static void | transactionFinish (std::string marketPid, onTransactionFinish listener) |
HIVE IAP v4 It requests the transaction completion processing for the purchase receipt of the item that have been delivered. More... | |
static void | transactionMultiFinish (std::vector< std::string > const &marketPidList, onTransactionMultiFinish listener) |
HIVE IAP v4 It requests the multiple transaction completion processing for the purchase receipt of the item that have been delivered. More... | |
static void | showMarketSelection (onMarketConnect listener) |
It shows a UI to select a Lebi store or a Google store.. If the Google Store and the HIVE Lebi store are available at the same time, you should expose the store selection screen to allow the user to select a store. More... | |
static void | getBalanceInfo (onBalance listener) |
It request Lebi balance information. More... | |
static void | showCharge (onBalance listener) |
It shows Lebi refill page. More... | |
static void | checkPromotePurchase (onCheckPromotePurchase listener) |
Apple AppStore Promote InApp Purchase 동작으로 얻어온 MarketPID를 요청한다. More... | |
static IAPV4Type | getSelectedMarket () |
현재 선택된 마켓 타입을 반환한다. More... | |
static std::string | getAccountUuid () |
현재 계정의 UUIDv3 값을 반환한다. More... | |
static void | showInAppMessages (int categoryId, onInAppMessages listener) |
Google In-App Offers. More... | |
HIVE IAP can minimize the development costs of the market-specific purchase process and collect purchase logs consistently to provide information to business, development, and management departments.
* Currently, HIVE IAP supports Apple App Store, Google Play Store, One Store (https://www.tstore.co.kr) and HIVE Lobby (Lebi).
HIVE LIVE (Lebi) store is a system that can organize stores and purchase goods in Chinese market. It is operated by HIVE itself.