PurchaseClient.Builder
It is a builder for creating the PurchaseClient instances.
Public Methods
setBase64PublicKey
Specify the public key issued by Developer Center for checking the validity of purchase information.
Parameters: | |
base64PublicKey | base64EncodedPublicKey |
Returns | |
PurchaseClient.Builder |
setListener
Specify to receive the onPurchasesUpdated event.
Parameters: | |
listener | |
Returns: | |
PurchaseClient.Builder |
build
It creates PurchaseClient instances.
Return: | |
Throws: | |
java.lang.IllegalArgumentException | It occurs if context or listener is abnormal. |
Last updated