Property | Type | Description |
---|
Method | 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.
|
Method | 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. |
return | void |
public static Initialize ( IStoreAssets storeAssets ) : bool | ||
storeAssets | IStoreAssets | Your game's economy. |
return | bool |
public static RefreshMarketItemsDetails ( ) : void | ||
return | void |
public static TransactionsAlreadyRestored ( ) : bool | ||
return | bool |
protected _buyMarketItem ( string productId, string payload ) : void | ||
productId | string | |
payload | string | |
return | void |
protected _refreshMarketItemsDetails ( ) : void | ||
return | void |
protected _transactionsAlreadyRestored ( ) : bool | ||
return | bool |