Difference between revisions of "Event.REQUEST PRODUCTS COMPLETE"

From GiderosMobile
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.2.2<br/>
+
<languages />
'''Value:''' requestProductsComplete<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
=== Description ===
+
'''<translate>Value</translate>:''' requestProductsComplete<br/>
 +
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
 +
=== <translate>Descriptio</translate>n ===
 
<translate>This event is dispatched after the method [[Special:MyLanguage/StoreKit:requestProducts|StoreKit:requestProducts]] is called and completed request. It provides information about products available.</translate>
 
<translate>This event is dispatched after the method [[Special:MyLanguage/StoreKit:requestProducts|StoreKit:requestProducts]] is called and completed request. It provides information about products available.</translate>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''error''': (number) <translate>error code if the request failed to execute</translate><br/>
 
'''error''': (number) <translate>error code if the request failed to execute</translate><br/>
 
'''errorDescription''': (string) <translate>error description if the request failed to execute</translate><br/>
 
'''errorDescription''': (string) <translate>error description if the request failed to execute</translate><br/>

Latest revision as of 10:59, 3 September 2018


Available since: Gideros 2012.2.2
Value: requestProductsComplete
Defined by: StoreKit

Description

This event is dispatched after the method StoreKit:requestProducts is called and completed request. It provides information about products available.

Parameters

error: (number) error code if the request failed to execute
errorDescription: (string) error description if the request failed to execute
invalidProductIdentifiers: (table) array of product identifier strings that were not recognized by the Apple App Store
products: (table) array of products where each element is a table which contains the product information
products[].title: (string) localized name of the product
products[].description: (string) localized description of the product
products[].price: (price) cost of the product in the local currency
products[].productIdentifier: (string) string that identifies the product in the Apple App Store