/// <summary> /// Connect to billing service /// </summary> /// <returns>If Success</returns> public override Task <bool> ConnectAsync(ItemType itemType = ItemType.InAppPurchase) { serviceConnection = new InAppBillingServiceConnection(Context, itemType); tcsPurchase?.TrySetCanceled(); tcsPurchase = null; return(serviceConnection.ConnectAsync()); }
/// <summary> /// Connect to billing service /// </summary> /// <returns>If Success</returns> public override Task <bool> ConnectAsync(ItemType itemType = ItemType.InAppPurchase) { serviceConnection = new InAppBillingServiceConnection(Context, itemType); return(serviceConnection.ConnectAsync()); }
/// <summary> /// Connect to billing service /// </summary> /// <returns>If Success</returns> public override Task <bool> ConnectAsync() { serviceConnection = new InAppBillingServiceConnection(Context); return(serviceConnection.ConnectAsync()); }