BillingClientStateListener

public interface BillingClientStateListener

com.android.billingclient.api.BillingClientStateListener


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

Summary

Public methods

abstract void onBillingServiceDisconnected()

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

abstract void onBillingSetupFinished(BillingResult billingResult)

Called to notify that setup is complete.

Public methods

onBillingServiceDisconnected

public 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(BillingResult) when the billing service is next running and setup is complete.

onBillingSetupFinished

public abstract void onBillingSetupFinished (BillingResult billingResult)

Called to notify that setup is complete.

Parameters
billingResult BillingResult: The result of the setup process.