Package | net.flashplusplus.Snapdragon.InAppStore |
Class | public class SDResponse |
Inheritance | SDResponse Object |
Property | Defined By | ||
---|---|---|---|
invalidIdentifiers : Vector.<String> [read-only]
A vector contains the invalid identifiers not found in the store. | SDResponse | ||
products : Vector.<SDProduct> [read-only]
A vector contains the valid product objects found in the store. | SDResponse | ||
storageUpToDate : Boolean [read-only]
A Boolean to tell, whether the restoration of purchases needed or not. | SDResponse |
Method | Defined By | ||
---|---|---|---|
SDResponse(products:Vector.<SDProduct>, invalidIdentifier:Vector.<String>, storageUpToDate:Boolean)
Constructor of the SDResponse class. | SDResponse |
invalidIdentifiers | property |
invalidIdentifiers:Vector.<String>
[read-only] A vector contains the invalid identifiers not found in the store.
public function get invalidIdentifiers():Vector.<String>
products | property |
products:Vector.<SDProduct>
[read-only] A vector contains the valid product objects found in the store.
public function get products():Vector.<SDProduct>
storageUpToDate | property |
storageUpToDate:Boolean
[read-only] A Boolean to tell, whether the restoration of purchases needed or not. It contains false value after the first installation on the device. If it is false, call the restoreTransactions function of SDStoreManager object to retrieve the already purchased non consumable products from the App Store.
public function get storageUpToDate():Boolean
SDResponse | () | Constructor |
public function SDResponse(products:Vector.<SDProduct>, invalidIdentifier:Vector.<String>, storageUpToDate:Boolean)
Constructor of the SDResponse class.
Parametersproducts:Vector.<SDProduct> — is the vector of valid product objects.
| |
invalidIdentifier:Vector.<String> — is the vector of the product identifiers not found on the server. In normal case, this vector should be empty.
| |
storageUpToDate:Boolean |