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

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

This is called when Android Market sends information about a purchase state change. The signedData parameter is a plaintext JSON string that is signed by the server with the developer's private key. The signature for the signed data is passed in the signature parameter.
private PurchaseStateChanged ( Android.Content.Context context, string signedData, string signature ) : void
context Android.Content.Context the context
signedData string the (unencrypted) JSON string
signature string the signature for the signedData
Результат void
        private void PurchaseStateChanged(Context context, string signedData, string signature)
        {
            Intent intent = new Intent(Consts.ACTION_PURCHASE_STATE_CHANGED);
            intent.SetClass(context, typeof(BillingService));
            intent.PutExtra(Consts.INAPP_SIGNED_DATA, signedData);
            intent.PutExtra(Consts.INAPP_SIGNATURE, signature);
            context.StartService(intent);
        }