the product ID
true if the currently signed in user owns SKU sku
, false otherwise
Queries for details of the items with the SKUs given in skus
.
Queries for details of the items with the SKUs given in skus
.
Use this to query available (and possibly unowned) items: check the SKUs in advance from the Google Developer Console.
the SKUs to query for
whether to return SKU details ("should be set to true
")
details of skus
Purchases sku
.
Purchases sku
.
The string payload
will be returned in subsequent queries about this purchase.
The returned future only completes successfully if the IabResult is successful and
the developer payload of the returned Purchase
matches payload
. If the payloads
don't match, the future fails with a com.mle.android.iap.google.PayloadMismatchException.
your activity
SKU of item to purchase
any positive integer; will be returned in onActivityResult with the purchase response
supplemental information about the order; can be an empty string
the purchase
http://developer.android.com/training/in-app-billing/purchase-iab-products.html
Converts Google Play's callback-based IAB API to one based on scala.concurrent.Futures.
The UI thread is used to submit the asynchronous requests; exceptions are apparently thrown otherwise.