Billing.BillingService.CheckBillingSupported.Run C# (CSharp) Method

Run() protected method

protected Run ( ) : long
return long
            protected internal override long Run()
            {
                try
                {
                    Bundle request = MakeRequestBundle("CHECK_BILLING_SUPPORTED");
                    if (mProductType != null)
                    {
                        request.PutString(Consts.BILLING_REQUEST_ITEM_TYPE, mProductType);
                    }
                    Bundle response = mService.SendBillingRequest(request);
                    int responseCode = response.GetInt(Consts.BILLING_RESPONSE_RESPONSE_CODE);
                    if (Consts.DEBUG)
                    {
                        Log.Info(TAG, "CheckBillingSupported response code: " + responseCode);
                    }
                    bool billingSupported = (responseCode == (int)Consts.ResponseCode.RESULT_OK);
                    ResponseHandler.CheckBillingSupportedResponse(billingSupported, mProductType);
                    return Consts.BILLING_RESPONSE_INVALID_REQUEST_ID;
                }
                catch (Android.OS.RemoteException)
                {
                    throw;
                }
            }
BillingService.CheckBillingSupported