AppCoinsBillingStateListener

A callback class that serves as a listener for monitoring the SDK setup process and the connection status with the Billing Service.


Public Methods

onBillingSetupFinished

void onBillingSetupFinished(int responseCode)

Invoked to notify that the setup of the SDK to the Billing Service has finished.

Parameters
NameTypeDescription
responseCodeIntInteger value of type ResponseCode of the setup status.

onBillingServiceDisconnected

void onBillingServiceDisconnected()

Invoked to notify that the setup of the SDK to the Billing Service has been lost.

This method doesn't mean that the connection to the Billing Service is not possible or that the binding has been broken. The method onBillingSetupFinished is going to be called once again when the connection is re-established.