BillingClientStateListener

public interface BillingClientStateListener


Callback for setup process. This listener's onBillingSetupFinished method is called when the setup process is complete.

Summary

Public methods

abstract void

Called to notify that the connection to the billing service was lost.

abstract void

Called to notify that setup is complete.

Public methods

onBillingServiceDisconnected

abstract void onBillingServiceDisconnected()

Called to notify that the connection to the billing service was lost.

Note: This does not remove the billing service connection itself - this binding to the service will remain active, and you will receive a call to onBillingSetupFinished when the billing service is next running and setup is complete.

This method is called on the main thread and hence should not perform blocking operations.

onBillingSetupFinished

abstract void onBillingSetupFinished(BillingResult billingResult)

Called to notify that setup is complete.

Parameters
BillingResult billingResult

The result of the setup process.