|
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
Request purchase of market product (marketPid) registered in App Store, Google Store, etc. 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...
|
|
typedef std::function< void(ResultAPI const &result, IAPV4ConsumeInfoUserAgreement *const info)> | IAPV4::onGetConsumeInfoAgreement |
| A callback to return the latest consent status and timing for the Consumption Information Transmission Terms
More...
|
|
typedef std::function< void(ResultAPI const &result, bool didAgree)> | IAPV4::onShowConsumeInfoAgreement |
| A callback to notify the user’s consent status as the outcome of the popup for Consumption Information transfer terms
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) |
| Request purchase of market product (marketPid) registered in App Store, Google Store, etc. More...
|
|
static void | IAPV4::purchase (std::string marketPid, std::string iapPayload, int quantity, onPurchase listener) |
| Request purchase of market product (marketPid) registered in App Store, Google Store, etc. More...
|
|
static void | IAPV4::purchaseSubscriptionUpdate (std::string marketPid, std::string oldMarketPid, std::string iapPayload, onPurchase listener) |
| Request purchase of market product (marketPid) registered in App Store, Google Store, etc. More...
|
|
static void | IAPV4::purchaseSubscription (IAPV4PurchaseParam param, onPurchase listener) |
| Request purchase of market product (marketPid) registered in App Store, Google Store, etc. 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...
|
|
static void | IAPV4::getConsumeInfoAgreement (onGetConsumeInfoAgreement listener) |
| 소비정보 전송 약관에 대한 유저의 마지막 동의 상태 및 시기를 반환한다. More...
|
|
static void | IAPV4::showConsumeInfoAgreement (onShowConsumeInfoAgreement listener) |
| 소비정보 전송 약관 팝업을 노출한다. 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, Apple Only
|
|
std::string | IAPV4Product::iconURL |
| 세일전 가격 Google, Apple 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. More...
|
|
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
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.
iapPayload is supplementary information for the purchase request, and it can be checked in Receipt Verification after purchase,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in verification result.
- Parameters
-
result | Result of API call |
iapV4Receipt | It includes the purchased product information and receipt. |
- See also
- #purchase(String, String, IAPV4PurchaseListener)
static void IAPV4::purchase |
( |
std::string |
marketPid, |
|
|
std::string |
iapPayload, |
|
|
int |
quantity, |
|
|
onPurchase |
listener |
|
) |
| |
|
static |
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.
iapPayload is supplementary information for the purchase request, and it can be checked in Receipt Verification after purchase,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in verification result.
- Parameters
-
marketPid | Unique code registered on the App Store, Google Store or etc. |
iapPayload | A string containing supplementary information about the purchase request, specified by the developer. |
quantity | payment quantity |
listener | Result of API call |
static void IAPV4::purchase |
( |
std::string |
marketPid, |
|
|
std::string |
iapPayload, |
|
|
onPurchase |
listener |
|
) |
| |
|
static |
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.
iapPayload is supplementary information for the purchase request, and it can be checked in Receipt Verification after purchase,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in verification result.
- Parameters
-
marketPid | Unique code registered on the App Store, Google Store or etc. |
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 |
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.
iapPayload is supplementary information for the purchase request, and it can be checked in Receipt Verification after purchase,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in verification result. When upgrading or downgrading a subscription-type product, the unique code oldMarketPid of the existing subscription product must be entered.
- 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 |
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.
iapPayload is supplementary information for the purchase request, and it can be checked in Receipt Verification after purchase,
but, in case of purchasing outside of the app, such as a promo code purchase etc., it can not be included in verification result. When upgrading or downgrading a subscription-type product, the unique code oldMarketPid of the existing subscription product must be entered.
- Parameters
-
marketPid | Unique code registered on the App Store or Google Store. |
oldMarketPid | Unique code of existing subscription product |
iapPayload | A string containing supplementary information about the purchase request, specified by the developer. |
listener | Result of API call |
- Since
- 4.11.6