Ejemplo n.º 1
0
        private void Consume(AN_Purchase purchase)
        {
            var paramsBuilder = AN_ConsumeParams.NewBuilder();

            paramsBuilder.SetPurchaseToken(purchase.PurchaseToken);
            m_BillingClient.ConsumeAsync(paramsBuilder.Build(), this);
        }
Ejemplo n.º 2
0
            public void Consume(string purchaseToken, Action <SA_iResult> callback)
            {
                m_OnConsumeCallback = callback;
                var paramsBuilder = AN_ConsumeParams.NewBuilder();

                paramsBuilder.SetPurchaseToken(purchaseToken);

                m_BillingClient.ConsumeAsync(paramsBuilder.Build(), this);
            }