public interface RestoreCallback
Modifier and Type | Method and Description |
---|---|
void |
itemRestored(String sku)
Indicates a the given SKU was restored by a user.
|
void |
restoreRequestComplete()
Indicates that a
Purchase.restore() request was completed without
errors. |
void |
restoreRequestError(String message)
Indicates that a
Purchase.restore() request was completed with
errors. |
void itemRestored(String sku)
sku
- the sku purchasedvoid restoreRequestComplete()
Purchase.restore()
request was completed without
errors. It doesn't mean that any particular products were restored, only
that the request completed. After a call to Purchase.restore()
,
either this or restoreRequestError(java.lang.String)
will be called at some point.void restoreRequestError(String message)
Purchase.restore()
request was completed with
errors. It doesn't mean that any particular products were restored, only
that the request completed. After a call to Purchase.restore()
,
either this or restoreRequestComplete()
will be called at some point.message
- The error message.