private void OnBillingSupported(string inventory) { OpenIAB_iOS.CreateInventory(inventory); if (billingSupportedEvent != null) { billingSupportedEvent(); } }
private void OnBillingSupported(string productIdentifiers) { string[] delimiters = new string[] { ";" }; string[] identifiers = productIdentifiers.Split(delimiters, System.StringSplitOptions.RemoveEmptyEntries); OnePF.StoreKitProduct[] productArray = new OnePF.StoreKitProduct[identifiers.Length]; int index = 0; foreach (string identifier in identifiers) { productArray[index] = OpenIAB_iOS.detailsForProductWithIdentifier(identifier); index++; } OpenIAB_iOS.CreateInventory(productArray); if (billingSupportedEvent != null) { billingSupportedEvent(); } }