Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
_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. |
Résultat | void |
public static Initialize ( IStoreAssets storeAssets ) : bool | ||
storeAssets | IStoreAssets | Your game's economy. |
Résultat | bool |
public static RefreshMarketItemsDetails ( ) : void | ||
Résultat | void |
public static RestoreTransactions ( ) : void | ||
Résultat | void |
public static StartIabServiceInBg ( ) : void | ||
Résultat | void |
public static StopIabServiceInBg ( ) : void | ||
Résultat | void |
public static TransactionsAlreadyRestored ( ) : bool | ||
Résultat | bool |
protected _buyMarketItem ( string productId, string payload ) : void | ||
productId | string | |
payload | string | |
Résultat | void |
protected _refreshMarketItemsDetails ( ) : void | ||
Résultat | void |
protected _transactionsAlreadyRestored ( ) : bool | ||
Résultat | bool |