Difference between revisions of "StoreKit:requestProducts"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Retrieve localized information about a list of products from the Apple App Store. When the request completes, [[Special:MyLanguage/Event.REQUEST_PRODUCTS_COMPLETE|Event.REQUEST_PRODUCTS_COMPLETE]] event is dispatched.<br />
 
Retrieve localized information about a list of products from the Apple App Store. When the request completes, [[Special:MyLanguage/Event.REQUEST_PRODUCTS_COMPLETE|Event.REQUEST_PRODUCTS_COMPLETE]] event is dispatched.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  StoreKit:requestProducts(productIdentifiers)
 
  StoreKit:requestProducts(productIdentifiers)
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''productIdentifiers''': (table) <translate>An array of product identifiers for the products you wish to retrieve descriptions of.</translate> <br/>
 
'''productIdentifiers''': (table) <translate>An array of product identifiers for the products you wish to retrieve descriptions of.</translate> <br/>

Revision as of 14:31, 13 July 2023


Available since: Gideros 2012.2.2
Class: StoreKit

Description


Retrieve localized information about a list of products from the Apple App Store. When the request completes, Event.REQUEST_PRODUCTS_COMPLETE event is dispatched.

<syntaxhighlight lang="lua">

StoreKit:requestProducts(productIdentifiers)

</source>

Parameters

productIdentifiers: (table) An array of product identifiers for the products you wish to retrieve descriptions of.