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...
|
static void | com.hive.IAP.initialize (IAPMarketInfoListener listener) |
| Initialize HIVE IAP
HIVE IAP initialization will deliver a list of available market information in the result. More...
|
|
static void | com.hive.IAP.getShopInfo (String locationCode, IAPShopInfoListener listener) |
| Return information for the configuration of shops and products
Stores can be exposed general shops, spot shops and event shops according to their sales strategy. More...
|
|
static void | com.hive.IAP.purchase (String gamePid, String additionalInfo, IAPPurchaseReceiptListener listener) |
| Purchase Item Products ID are classified into two, one is 'marketPid' registered in Apple AppStore or Google PlayStore, the other is 'gamePid' registered in HIVE IAP back office. More...
|
|
static void | com.hive.IAP.restoreRecipt (IAPRestoreReceiptListener listener) |
| Restore HIVE IAP product which is not sent to user. More...
|
|
static void | com.hive.IAP.showMarketSelection (IAPMarketInfoListener listener) |
| Launches a window to select a lebi store or a Google Play Store. More...
|
|
static void | com.hive.IAP.getBalanceInfo (IAPBalanceInfoListener listener) |
| Request your balance information for HIVE Lebi store. More...
|
|
static void | com.hive.IAP.showCharge (IAPBalanceInfoListener listener) |
| Show HIVE Lebi Store redeem page(Android only.) More...
|
|
void | com.hive.IAP.IAPMarketInfoListener.onIAPMarketInfo (ResultAPI result, List< IAPType > iapTypeList) |
| Result of information inquiry for HIVE IAP to organize stores and products. More...
|
|
void | com.hive.IAP.IAPShopInfoListener.onIAPShopInfo (ResultAPI result, IAPShop iapShop, int balance) |
| HIVE IAP 백오피스에서 구성한 상점 정보 조회 결과 통지 More...
|
|
void | com.hive.IAP.IAPPurchaseReceiptListener.onIAPPurchaseReceipt (ResultAPI result, IAPReceipt iapReceipt) |
| Result of IAP purchase
Products ID are classified into two, one is 'marketPid' registered in Apple AppStore or Google PlayStore, the other is gamePid registered in HIVE IAP back office. More...
|
|
void | com.hive.IAP.IAPRestoreReceiptListener.onIAPRestoreReceipt (ResultAPI result, IAPReceipt[] receiptList) |
| Result of Restore HIVE IAP product which is not sent to user
In the process of purchasing a product, it may happen that the item fails to be delivered due to various situations. More...
|
|
void | com.hive.IAP.IAPBalanceInfoListener.onIAPBalance (ResultAPI result, int balance) |
| Result of balance request, if it is HIVE Lebi store. 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.
§ getBalanceInfo()
Request your balance information for HIVE Lebi store.
(Android only.)
- Parameters
-
listener | API call result listener |
§ getShopInfo()
Return information for the configuration of shops and products
Stores can be exposed general shops, spot shops and event shops according to their sales strategy.
Spot shops and event shops set the location code in the HIVE back office and insert the location code at the exposure location of the game.
- Parameters
-
locationCode | Store location code set in back office |
listener | API call result listener |
§ initialize()
Initialize HIVE IAP
HIVE IAP initialization will deliver a list of available market information in the result.
This list of market information means the market available on the game client.
- Parameters
-
listener | API call result listener |
§ onIAPBalance()
void com.hive.IAP.IAPBalanceInfoListener.onIAPBalance |
( |
ResultAPI |
result, |
|
|
int |
balance |
|
) |
| |
Result of balance request, if it is HIVE Lebi store.
- Parameters
-
result | API call result |
balance | Balance of HIVE Lebi store |
§ onIAPMarketInfo()
void com.hive.IAP.IAPMarketInfoListener.onIAPMarketInfo |
( |
ResultAPI |
result, |
|
|
List< IAPType > |
iapTypeList |
|
) |
| |
Result of information inquiry for HIVE IAP to organize stores and products.
- Parameters
-
result | API call result |
iapTypeList | List of available market information
This list of market information means the market available to the game client.
If there is more than one market list, you should provide a screen that allows the user to select the store. |
§ onIAPPurchaseReceipt()
void com.hive.IAP.IAPPurchaseReceiptListener.onIAPPurchaseReceipt |
( |
ResultAPI |
result, |
|
|
IAPReceipt |
iapReceipt |
|
) |
| |
Result of IAP purchase
Products ID are classified into two, one is 'marketPid' registered in Apple AppStore or Google PlayStore, the other is gamePid registered in HIVE IAP back office.
The purchase of the HIVE IAP will require the gamePid registered in the HIVE IAP back office. (Note: You must call restore() before attempting a new purchase so that you can deliver an item that has not been delivered)
- Author
- imsunghoon
§ onIAPRestoreReceipt()
void com.hive.IAP.IAPRestoreReceiptListener.onIAPRestoreReceipt |
( |
ResultAPI |
result, |
|
|
IAPReceipt [] |
receiptList |
|
) |
| |
Result of Restore HIVE IAP product which is not sent to user
In the process of purchasing a product, it may happen that the item fails to be delivered due to various situations.
In order to prepare for this situation, you must restore for the item.
- Parameters
-
result | API call result |
receiptList | 구매 성공한 상품 정보 리스트 |
- Author
- imsunghoon
§ onIAPShopInfo()
void com.hive.IAP.IAPShopInfoListener.onIAPShopInfo |
( |
ResultAPI |
result, |
|
|
IAPShop |
iapShop, |
|
|
int |
balance |
|
) |
| |
HIVE IAP 백오피스에서 구성한 상점 정보 조회 결과 통지
- Parameters
-
result | API 호출 결과 |
iapShop | 상점 정보 |
balance | HIVE Lebi 상점의 경우 잔액 정보 Result of shop information inquiry configured in HIVE IAP back office |
result | API call result |
iapShop | Shop information |
balance | Balance information for HIVE Lebi stores |
§ purchase()
Purchase Item Products ID are classified into two, one is 'marketPid' registered in Apple AppStore or Google PlayStore, the other is 'gamePid' registered in HIVE IAP back office.
The purchase of the HIVE IAP will require the 'gamePid' registered in the HIVE IAP back office (Note: You must call restore() before attempting a new purchase so that you can deliver an item that has not been delivered)
- Parameters
-
gamePid | Product specific code managed by HIVE IAP system. |
additionalInfo | 구매 요청에 대한 보충 정보를 포함한 문자열로, 개발자가 지정합니다. |
listener | API call result listener |
§ restoreRecipt()
Restore HIVE IAP product which is not sent to user.
In the process of purchasing a product, it may happen that the item fails to be delivered due to various situations.
In order to prepare for this situation, you must restore for the item.
- Parameters
-
listener | API call result listener |
§ showCharge()
Show HIVE Lebi Store redeem page(Android only.)
- Parameters
-
listener | API call result listener |
§ showMarketSelection()
Launches a window to select a lebi store or a Google Play Store.
(Android only.)
If the Google Play Store and the HIVE LIVE store are available at the same time, you should expose the store selection screen so that the user can select a store.
- Parameters
-
listener | API call result listener |