Billing.ResponseHandler.BuyPageIntentResponse C# (CSharp) Method

BuyPageIntentResponse() public static method

Starts a new activity for the user to buy an item for sale. This method forwards the intent on to the PurchaseObserver (if it exists) because we need to start the activity on the activity stack of the application.
public static BuyPageIntentResponse ( Android.App.PendingIntent pendingIntent, Android.Content.Intent intent ) : void
pendingIntent Android.App.PendingIntent a PendingIntent that we received from Android Market that /// will create the new buy page activity
intent Android.Content.Intent an intent containing a request id in an extra field that /// will be passed to the buy page activity when it is created
return void
        public static void BuyPageIntentResponse(PendingIntent pendingIntent, Intent intent)
        {
            if (sPurchaseObserver == null)
            {
                if (Consts.DEBUG)
                {
                    Log.Debug(TAG, "UI is not running");
                }
                return;
            }
            sPurchaseObserver.StartBuyPageActivity(pendingIntent, intent);
        }