Billing.ResponseHandler.ResponseCodeReceived C# (CSharp) Method

ResponseCodeReceived() public static method

This is called when we receive a response code from Android Market for a RequestPurchase request that we made. This is used for reporting various errors and also for acknowledging that an order was sent successfully to the server. This is NOT used for any purchase state changes. All purchase state changes are received in the BillingReceiver and are handled in Security#verifyPurchase(String, String).
public static ResponseCodeReceived ( Android.Content.Context context, BillingService request, Consts responseCode ) : void
context Android.Content.Context the context
request BillingService the RequestPurchase request for which we received a /// response code
responseCode Consts a response code from Market to indicate the state /// of the request
return void
        public static void ResponseCodeReceived(Context context, BillingService.RequestPurchase request, Consts.ResponseCode responseCode)
        {
            if (sPurchaseObserver != null)
            {
                sPurchaseObserver.OnRequestPurchaseResponse(request, responseCode);
            }
        }