samsung-iap.loadProducts()

Type Function
Return value none
Revision Release 2022.3683
Keywords IAP, Samsung IAP, Samsung In App Purchase, init
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

The productListener does not return invalid products and just give and error if invalid product is passed in.

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.