BillingClient.ConnectionState

public static abstract @interface BillingClient.ConnectionState
implements Annotation

com.android.billingclient.api.BillingClient.ConnectionState


Connection state of billing client.

Summary

Constants

int CLOSED

This client was already closed and shouldn't be used again.

int CONNECTED

This client is currently connected to billing service.

int CONNECTING

This client is currently in process of connecting to billing service.

int DISCONNECTED

This client was not yet connected to billing service or was already closed.

Inherited methods

Constants

CLOSED

public static final int CLOSED

This client was already closed and shouldn't be used again.

Constant Value: 3 (0x00000003)

CONNECTED

public static final int CONNECTED

This client is currently connected to billing service.

Constant Value: 2 (0x00000002)

CONNECTING

public static final int CONNECTING

This client is currently in process of connecting to billing service.

Constant Value: 1 (0x00000001)

DISCONNECTED

public static final int DISCONNECTED

This client was not yet connected to billing service or was already closed.

Constant Value: 0 (0x00000000)