Пример #1
0
 public void RestoreProduct(string productId, InhouseCallback success, InhouseCallback failure)
 {
     _restoreProductSuccess = success;
     _restoreProductFail    = failure;
     Native.restorePurchaseInApps(productId);
 }
Пример #2
0
    public void ShowPopup3(string title, string message, string ok1, string ok2, string cancel, string url, InhouseCallback callback)
    {
        Guid   guid  = Guid.NewGuid();
        string ident = guid.ToString();

        if (callback != null)
        {
            _popupRateCallback.Add(ident, callback);
        }
        Native.showAlert2(ident, title, message, ok1, ok2, cancel, url);
    }
Пример #3
0
 public void BuyProduct(string productId, InhouseCallback success, InhouseCallback failure)
 {
     _buyProductSuccess = success;
     _buyProductFail    = failure;
     Native.buyProduct(productId);
 }