Billing.BillingReceiver.CheckResponseCode C# (CSharp) Метод

CheckResponseCode() приватный Метод

This is called when Android Market sends a server response code. The BillingService can then report the status of the response if desired.
private CheckResponseCode ( Android.Content.Context context, long requestId, int responseCodeIndex ) : void
context Android.Content.Context the context
requestId long the request ID that corresponds to a previous request
responseCodeIndex int the ResponseCode ordinal value for the request
Результат void
        private void CheckResponseCode(Context context, long requestId, int responseCodeIndex)
        {
            Intent intent = new Intent(Consts.ACTION_RESPONSE_CODE);
            intent.SetClass(context, typeof(BillingService));
            intent.PutExtra(Consts.INAPP_REQUEST_ID, requestId);
            intent.PutExtra(Consts.INAPP_RESPONSE_CODE, responseCodeIndex);
            context.StartService(intent);
        }