samsung-iap.loadProducts()

Type Function
Return value none
Revision Release 2026.3728
Keywords IAP, Samsung IAP, Samsung In App Purchase, loadProducts
See also store.init()
store.purchase()
store.restore()
store.*

Overview

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

Gotchas

Product identifiers that Samsung IAP does not return are listed in event.invalidProducts. If Samsung IAP rejects the whole request, for instance because none of the identifiers exist, the event has event.isError set to true instead.

Syntax

store.loadProducts( productIdentifiers, productListener )
productIdentifiers (required)

Table. An array of strings indicating a list of product identifiers.

productListener (required)

Listener. The listener that will receive the productList event.