void OnFetchedPurchase(List <GooglePurchase> purchases) { if (purchases != null) { var purchasedProducts = FillProductsWithPurchases(purchases); if (purchasedProducts.Count > 0) { m_StoreCallback?.OnAllPurchasesRetrieved(purchasedProducts); } } }
public void OnAllPurchasesRetrieved(List <Product> purchasedProducts) { m_Util.RunOnMainThread(() => m_ForwardTo.OnAllPurchasesRetrieved(purchasedProducts)); }