Difference between revisions of "Event.REQUEST PRODUCTS COMPLETE"
Line 3: | Line 3: | ||
'''Value:''' requestProductsComplete<br/> | '''Value:''' requestProductsComplete<br/> | ||
=== Description === | === Description === | ||
− | This event is dispatched after the method | + | <translate>This event is dispatched after the method [[[StoreKit:requestProducts]]] is called and completed request. It provides information about products available.</translate> |
=== Parameters === | === Parameters === | ||
− | '''error''': (number) error code if the request failed to execute<br/> | + | '''error''': (number) <translate>error code if the request failed to execute</translate><br/> |
− | '''errorDescription''': (string) error description if the request failed to execute<br/> | + | '''errorDescription''': (string) <translate>error description if the request failed to execute</translate><br/> |
− | '''invalidProductIdentifiers''': (table) array of product identifier strings that were not recognized by the Apple App Store<br/> | + | '''invalidProductIdentifiers''': (table) <translate>array of product identifier strings that were not recognized by the Apple App Store</translate><br/> |
− | '''products''': (table) array of products where each element is a table which contains the product information<br/> | + | '''products''': (table) <translate>array of products where each element is a table which contains the product information</translate><br/> |
− | '''products[].title''': (string) localized name of the product<br/> | + | '''products[].title''': (string) <translate>localized name of the product</translate><br/> |
− | '''products[].description''': (string) localized description of the product<br/> | + | '''products[].description''': (string) <translate>localized description of the product</translate><br/> |
− | '''products[].price''': (price) cost of the product in the local currency<br/> | + | '''products[].price''': (price) <translate>cost of the product in the local currency</translate><br/> |
− | '''products[].productIdentifier''': (string) string that identifies the product in the Apple App Store<br/> | + | '''products[].productIdentifier''': (string) <translate>string that identifies the product in the Apple App Store</translate><br/> |
Revision as of 13:35, 23 August 2018
Available since: Gideros 2012.2.2
Value: requestProductsComplete
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