AptoideBillingClientStateListener

com.aptoide.sdk.billing.listeners.AptoideBillingClientStateListener

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(BillingResult billingResult)

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

Parameters
NameTypeDescription
billingResultBillingResultBilling result of type BillingResult of the response received.

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.