com.android.billingclient.api / queryPurchasesAsync

queryPurchasesAsync

suspend fun BillingClient.queryPurchasesAsync(skuType: String): PurchasesResult

Returns purchases details for currently owned items bought within your app.

Parameters

skuType - The type of SKU, either "inapp" or "subs"

Return
A PurchasesResult including a BillingResult and a list of Purchases when the request succeeded