|
typedef std::function< void(ResultAPI const &result, std::vector< IAPV4Type > const &marketIDs)> | IAPV4::onMarketConnect |
| HIVE IAPV4 Market information request result callback. More...
|
|
typedef std::function< void(ResultAPI const &result, std::vector< IAPV4Product > const &iapV4ProductList, unsigned int balance)> | IAPV4::onGetProductInfo |
| HIVE IAPV4 Product Information request callback. More...
|
|
typedef std::function< void(ResultAPI const &result, IAPV4Receipt const &iapV4Receipt)> | IAPV4::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)> | IAPV4::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)> | IAPV4::onTransactionFinish |
| HIVE IAP v4 Transaction Finish request result callback
More...
|
|
typedef std::function< void(ResultAPI const &result, std::string marketPid)> | IAPV4::onCheckPromotePurchase |
|
typedef std::function< void(std::vector< ResultAPI > const &resultList, std::vector< std::string > const &marketPidList)> | IAPV4::onTransactionMultiFinish |
| HIVE IAP v4 Multiple Transaction Finish request result callback
More...
|
|
typedef std::function< void(ResultAPI const &result, int balance)> | IAPV4::onBalance |
| HIVE Lebi Balance request result callback, if it is a Rebi store. More...
|
|
typedef std::function< void(int responseCode)> | IAPV4::onInAppMessages |
| Google In-App Offers. More...
|
|
|
static void | IAPV4::marketConnect (onMarketConnect listener) |
| IAPV4 It initialize IAPV4 Purchase module. More...
|
|
static void | IAPV4::getMarketProductInfo (std::vector< std::string > const &marketPidList, onGetProductInfo listener) |
| Apple Appstore It returns information for composition of the product. More...
|
|
static void | IAPV4::getProductInfo (onGetProductInfo listener) |
| HIVE IAPV4 It returns information for composition of the product. More...
|
|
static void | IAPV4::getSubscriptionProductInfo (onGetProductInfo listener) |
| HIVE IAPV4 It returns information for composition of the product. More...
|
|
static void | IAPV4::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 | IAPV4::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 | IAPV4::purchaseSubscription (IAPV4PurchaseParam param, onPurchase listener) |
| HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store. More...
|
|
static void | IAPV4::restore (onRestore listener) |
| HIVE IAPV4 It restore the item that has not been delivered. More...
|
|
static void | IAPV4::restoreSubscription (onRestore listener) |
| HIVE IAPV4 It restore the item that has not been delivered. More...
|
|
static void | IAPV4::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 | IAPV4::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 | IAPV4::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 | IAPV4::getBalanceInfo (onBalance listener) |
| It request Lebi balance information. More...
|
|
static void | IAPV4::showCharge (onBalance listener) |
| It shows Lebi refill page. More...
|
|
static void | IAPV4::checkPromotePurchase (onCheckPromotePurchase listener) |
| Apple AppStore Promote InApp Purchase 동작으로 얻어온 MarketPID를 요청한다. More...
|
|
static IAPV4Type | IAPV4::getSelectedMarket () |
| 현재 선택된 마켓 타입을 반환한다. More...
|
|
static std::string | IAPV4::getAccountUuid () |
| 현재 계정의 UUIDv3 값을 반환한다. More...
|
|
static void | IAPV4::showInAppMessages (int categoryId, onInAppMessages listener) |
| Google In-App Offers. More...
|
|
|
std::string | IAPV4Product::productType |
| consumable, subscription
|
|
std::string | IAPV4Product::marketPid |
| Unique product ID registered in Market.
|
|
std::string | IAPV4Product::currency |
| Currency code (ex, KRW / USD)
|
|
double | IAPV4Product::price |
| Product price.
|
|
std::string | IAPV4Product::displayPrice |
| Product price string (ex. $100.00)
|
|
std::string | IAPV4Product::title |
| Item Title.
|
|
std::string | IAPV4Product::productDescription |
| Product Description.
|
|
std::string | IAPV4Product::originalMarketJson |
| Original Product info in Market.
|
|
double | IAPV4Product::originalPrice |
| 세일전 가격 문자열 Google Only
|
|
std::string | IAPV4Product::iconURL |
| 세일전 가격 Google Only More...
|
|
int | IAPV4Product::coinsReward |
| 상품 아이콘 (512x512) Google Only
|
|
IAPV4Type | IAPV4Receipt::type |
| Receipt Market Information.
|
|
IAPV4Product | IAPV4Receipt::product |
| Purchased product information.
|
|
std::string | IAPV4Receipt::iapPayload |
| iapPayload entered in purchase request
|
|
std::string | IAPV4Receipt::hiveiapReceipt |
| Receipt Data to send when requesting validation to IAP server.
|
|
int | IAPV4Receipt::quantity |
| Purchase quantity (Support Google Play multi-purchase)
|
|
Purchase request result callback
The purchase of HIVE IAPV4 will require a marketPid registered in the App Store and Google Store.
iapPayload is supplementary information for the purchase request, and is included in the purchase completion callback,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in iapV4Receipt.
- Parameters
-
result | Result of API call |
iapV4Receipt | It includes the purchased product information and iapPayload. |
- See also
- #purchase(String, String, IAPV4PurchaseListener)
static void IAPV4::purchase |
( |
std::string |
marketPid, |
|
|
std::string |
iapPayload, |
|
|
onPurchase |
listener |
|
) |
| |
|
static |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store.
iapPayload is supplementary information for the purchase request, and is included in the purchase completion callback,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in iapV4Receipt.
- Parameters
-
marketPid | Unique code registered on the App Store or Google Store. |
iapPayload | A string containing supplementary information about the purchase request, specified by the developer. |
listener | Result of API call |
static void IAPV4::purchaseSubscription |
( |
IAPV4PurchaseParam |
param, |
|
|
onPurchase |
listener |
|
) |
| |
|
static |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store.
iapPayload is supplementary information for the purchase request, and is included in the purchase completion callback,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in iapV4Receipt.
- Parameters
-
param | A collection of parameters required for purchase |
listener | Result of API call |
- Since
- 4.16.4.0
static void IAPV4::purchaseSubscriptionUpdate |
( |
std::string |
marketPid, |
|
|
std::string |
oldMarketPid, |
|
|
std::string |
iapPayload, |
|
|
onPurchase |
listener |
|
) |
| |
|
static |
HIVE IAPV4 The purchase will require a marketPid from the App Store and Google Store.
iapPayload is supplementary information for the purchase request, and is included in the purchase completion callback,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in iapV4Receipt.
- Parameters
-
marketPid | Unique code registered on the App Store or Google Store. |
oldMarketPid | Unique code registered on the App Store or Google Store. (Android Only) |
iapPayload | A string containing supplementary information about the purchase request, specified by the developer. (Android Only) |
listener | Result of API call |
- Since
- 4.11.6