[EN]IapResult

public final class IapResult extends Object java.lang.Object ↳ com.gaa.sdk.iap.IapResult

An object that includes the In-app Purchase API response code and message.

Summary


Nested classes

class

Public methods


getResponseCode

int getResponseCode() It restores the In-app Purchase API Response Code.

Returns:

int

getMessage

String getMessage() Restores the In-app Purchase API Response Message.

Returns:

String

isSuccess

boolean isSuccess() Indicates whether In-app Purchase API Response Code is successful (PurchaseClient.ResponseCode.RESULT_OK).

Returns:

boolean

isFailure

boolean isFailure() Indicates whether In-app Purchase API ResponseCode has failed.

Returns:

boolean

newBuilder

IapResult.Builder newBuilder() Generates the builder to create a lapResult instance.

Returns:

Last updated