Show / Hide Table of Contents

Interface AN_iPurchasesUpdatedListener

Listener interface for purchase updates which happen when, for example, the user buys something within the app or by initiating a purchase from Google Play Store.

Namespace: SA.Android.Vending.BillingClient
Assembly: cs.temp.dll.dll
Syntax
public interface AN_iPurchasesUpdatedListener

Methods

onPurchasesUpdated(SA_iResult, List<AN_Purchase>)

Implement this method to get notifications for purchases updates. Both purchases initiated by your app and the ones initiated outside of your app will be reported here.

Warning! All purchases reported here must either be consumed or acknowledged. Failure to either consume or acknowledge a purchase will result in that purchase being refunded. Please refer to https://developer.android.com/google/play/billing/billing_library_overview#acknowledge for more details.

Declaration
void onPurchasesUpdated(SA_iResult billingResult, List<AN_Purchase> purchases)
Parameters
Type Name Description
SA_iResult billingResult

BillingResult of the update.

List<AN_Purchase> purchases

List of updated purchases if present.

In This Article
Back to top Generated by DocFX