Billing.PurchaseObserver.OnPurchaseStateChange C# (CSharp) Метод

OnPurchaseStateChange() публичный абстрактный Метод

This is the callback that is invoked when an item is purchased, refunded, or canceled. It is the callback invoked in response to calling BillingService#requestPurchase(String). It may also be invoked asynchronously when a purchase is made on another device (if the purchase was for a Market-managed item), or if the purchase was refunded, or the charge was canceled. This handles the UI update. The database update is handled in {@link ResponseHandler#purchaseResponse(Context, PurchaseState, String, String, long)}.
public abstract OnPurchaseStateChange ( Consts purchaseState, string itemId, int quantity, long purchaseTime, string developerPayload ) : void
purchaseState Consts the purchase state of the item
itemId string a string identifying the item (the "SKU")
quantity int the current quantity of this item after the purchase
purchaseTime long the time the product was purchased, in /// milliseconds since the epoch (Jan 1, 1970)
developerPayload string
Результат void
        public abstract void OnPurchaseStateChange(Consts.PurchaseState purchaseState, string itemId, int quantity, long purchaseTime, string developerPayload);