BillingResponse enum

Possible BillingClient response statuses.

Wraps BillingClient.BillingResponse. See the BillingResponse docs for more explanation of the different constants.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

BillingResponse()
const

Values

serviceTimeout → const BillingResponse

The request has reached the maximum timeout before Google Play responds.

featureNotSupported → const BillingResponse

The requested feature is not supported by Play Store on the current device.

serviceDisconnected → const BillingResponse

The Play Store service is not connected now - potentially transient state.

ok → const BillingResponse

Success.

userCanceled → const BillingResponse

The user pressed back or canceled a dialog.

serviceUnavailable → const BillingResponse

The network connection is down.

billingUnavailable → const BillingResponse

The billing API version is not supported for the type requested.

itemUnavailable → const BillingResponse

The requested product is not available for purchase.

developerError → const BillingResponse

Invalid arguments provided to the API.

error → const BillingResponse

Fatal error during the API action.

itemAlreadyOwned → const BillingResponse

Failure to purchase since item is already owned.

itemNotOwned → const BillingResponse

Failure to consume since item is not owned.

networkError → const BillingResponse

Network connection failure between the device and Play systems.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<BillingResponse>
A constant List of the values in this enum, in order of their declaration.