Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
BuyMarketItem ( string productId, string payload ) : void |
Starts a purchase process in the market.
|
|
Initialize ( IStoreAssets storeAssets ) : bool |
Initializes the SOOMLA SDK.
|
|
RefreshInventory ( ) : void |
This method will run RestoreTransactions followed by RefreshMarketItemsDetails
|
|
RefreshMarketItemsDetails ( ) : void |
Creates a list of all metadata stored in the Market (the items that have been purchased). The metadata includes the item's name, description, price, product id, etc... Posts a
|
|
RestoreTransactions ( ) : void |
Initiates the restore transactions process.
|
|
StartIabServiceInBg ( ) : void |
Starts in-app billing service in background.
|
|
StopIabServiceInBg ( ) : void |
Stops in-app billing service in background.
|
|
TransactionsAlreadyRestored ( ) : bool |
Checks if transactions were already restored.
|
Метод | Описание | |
---|---|---|
_buyMarketItem ( string productId, string payload ) : void | ||
_loadBillingService ( ) : void | ||
_refreshInventory ( ) : void | ||
_refreshMarketItemsDetails ( ) : void | ||
_restoreTransactions ( ) : void | ||
_startIabServiceInBg ( ) : void | ||
_stopIabServiceInBg ( ) : void | ||
_transactionsAlreadyRestored ( ) : bool |
public static BuyMarketItem ( string productId, string payload ) : void | ||
productId | string | product id of the item to buy. This id is the one you set up on itunesconnect or Google Play developer console. |
payload | string | Some text you want to get back when the purchasing process is completed. |
Результат | void |
public static Initialize ( IStoreAssets storeAssets ) : bool | ||
storeAssets | IStoreAssets | Your game's economy. |
Результат | bool |
public static RefreshInventory ( ) : void | ||
Результат | void |
public static RefreshMarketItemsDetails ( ) : void | ||
Результат | void |
public static RestoreTransactions ( ) : void | ||
Результат | void |
public static StartIabServiceInBg ( ) : void | ||
Результат | void |
public static StopIabServiceInBg ( ) : void | ||
Результат | void |
public static TransactionsAlreadyRestored ( ) : bool | ||
Результат | bool |
protected _buyMarketItem ( string productId, string payload ) : void | ||
productId | string | |
payload | string | |
Результат | void |
protected _refreshMarketItemsDetails ( ) : void | ||
Результат | void |
protected _transactionsAlreadyRestored ( ) : bool | ||
Результат | bool |