awaitGetProductsResult

suspend fun <Error class: unknown class>.awaitGetProductsResult(productIds: List<String>, type: ProductType? = null): Result<List<StoreProduct>>

Gets the StoreProduct(s) for the given list of product ids of type type, or for all types if no type is specified.

Coroutine friendly version of Purchases.getProducts.

Return

A Result of list of StoreProduct with the products that have been able to be fetched from the store successfully, or a Result containing PurchasesException if it fails. Not found products will be ignored.

Parameters

productIds

List of productIds

type

A product type to filter by