IAptoideBillingClientStateListener

The IAptoideBillingClientStateListener

A callback interface 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 connection to the Billing Service has been lost.

This method doesn't indicate that the connection to the Billing Service is permanently lost or that the binding has been broken. The method OnBillingSetupFinished will be called again when the connection is re-established.