store.loadProducts()

Type Function
Return value none
Revision Release 2024.3703
Keywords Google, IAP, in-app purchases, loadProducts
See also store.canLoadProducts
store.init()
store.*

Overview

Initiates a request to retrieve item data, dispatching a productList event to the listener defined as productListener.

Syntax

store.loadProducts( productIdentifiers, [subscriptionIdentifiers,] productListener )
productIdentifiers (required)

Table. An array of strings indicating a list of product identifiers of in app purchases to be loaded.

subscriptionIdentifiers (optional)

Table. An array of strings indicating a list of product identifiers of subscriptions to be loaded.

productListener (required)

Listener. The listener that will receive the productList event.