[EN]PurchaseClient.Builder

public static final class PurchaseClient.Builder java.lang.Object ↳ com.gaa.sdk.iap.PurchaseClient.Builder

A builder that helps create a PurchaseClient instance easily.

Public Methods


setBase64PublicKey

@UiThreadpublic PurchaseClient.Builder setBase64PublicKey(String base64PublicKey) Please specify the public key that is issued from the developer center to check the validity of purchase information.

setListener

@UiThreadpublic PurchaseClient.Builder setListener(PurchasesUpdatedListener listener) Please specify to receive onPurchasesUpdated event.

build

@UiThreadpublic PurchaseClient build() Creates a PurchaseClient's instance.

Last updated