public void OnFailure(Java.Lang.Exception e)
            {
                int errorCode = ExceptionHandle.handle(view.GetActivity(), e);

                if (ExceptionHandle.SOLVED != errorCode)
                {
                    Log.Error(TAG, "obtainProductInfo: " + e.Message);
                }
                view.ShowProducts(null);
            }
예제 #2
0
            public void OnFailure(Java.Lang.Exception e)
            {
                Log.Info(TAG, "Buy OnFailure");
                int errorCode = ExceptionHandle.handle(CurrentActivity, e);

                if (errorCode != ExceptionHandle.SOLVED)
                {
                    Log.Error(TAG, "createPurchaseIntent, returnCode: " + errorCode);
                    switch (errorCode)
                    {
                    case OrderStatusCode.OrderProductOwned:
                        CurrentActivity.QueryPurchases(null);
                        break;

                    default:
                        break;
                    }
                }
            }
            public void OnFailure(Java.Lang.Exception e)
            {
                Log.Info(TAG, "Buy OnFailure");
                int errorCode = ExceptionHandle.handle(view.GetActivity(), e);

                if (errorCode != ExceptionHandle.SOLVED)
                {
                    Log.Error(TAG, "createPurchaseIntent, returnCode: " + errorCode);
                    switch (errorCode)
                    {
                    case OrderStatusCode.OrderProductOwned:
                        presenter.ShowSubscription(Productid);
                        break;

                    default:
                        break;
                    }
                }
            }
예제 #4
0
 public void OnFailure(Java.Lang.Exception e)
 {
     Log.Error(TAG, "obtainProductInfo: " + e.Message);
     ExceptionHandle.handle(CurrentActivity, e);
 }
예제 #5
0
 public void OnFailure(Java.Lang.Exception e)
 {
     Log.Error(TAG, "obtainOwnedPurchases, type=" + IapClientPriceType.InAppNonconsumable + ", " + e.Message);
     ExceptionHandle.handle(CurrentActivity, e);
 }
 public void OnFailure(Java.Lang.Exception e)
 {
     Log.Error(TAG, "obtainOwnedPurchaseRecord, " + e.Message);
     ExceptionHandle.handle(CurrentActivity, e);
     CurrentActivity.OnFinish();
 }
 public void OnFailure(Java.Lang.Exception e)
 {
     Log.Info(TAG, "Sandbox");
     Toast.MakeText(view.GetActivity(), "SandBox is not Supported", ToastLength.Long).Show();
     ExceptionHandle.handle(view.GetActivity(), e);
 }
 public void OnFailure(Java.Lang.Exception e)
 {
     Log.Info(TAG, "Start OnFailure");
     ExceptionHandle.handle(view.GetActivity(), e);
 }