Billing.PurchaseObserver.PostPurchaseStateChange C# (CSharp) Method

PostPurchaseStateChange() private method

Updates the UI after the database has been updated. This method runs in a background thread so it has to post a Runnable to run on the UI thread.
private PostPurchaseStateChange ( 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
quantity int the quantity of items in this purchase
purchaseTime long
developerPayload string
return void
        internal virtual void PostPurchaseStateChange(Consts.PurchaseState purchaseState, string itemId, int quantity, long purchaseTime, string developerPayload)
        {
            mHandler.Post(() =>
                    {
                        OnPurchaseStateChange(purchaseState, itemId, quantity, purchaseTime, developerPayload);
                    });
        }