IapResult
It is an object with the code and message of in-app purchase API responses included.
Summary
Nested classes
class
It is a builder for easy creation of the IapResult instances.
Public methods
getResponseCode
It returns in-app purchase API response codes.
Returns:
int
Response code value corresponding to PurchaseClient.ResponseCode.
getMessage
It returns the message of in-app purchase API responses.
Returns:
String
isSuccess
It shows whether in-app purchase API response codes are a success (PurchaseClient.ResponseCode.RESULT_OK).
Returns:
boolean
isFailure
It shows whether in-app purchase API response codes fail.
Returns:
boolean
newBuilder
It generates a builder for creating the IapResult instances.
Returns:
Last updated