BillingResponse enum
Possible BillingClient response statuses.
Wraps
BillingClient.BillingResponse.
See the BillingResponse docs for more explanation of the different
constants.
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.
-
The service is currently unavailable.
This is a transient state; the request can be retried later. Note that Play no longer returns BillingResponse.serviceTimeout, and timeouts are reported here instead.
-
A user billing error occurred during processing.
As of Google Play Billing Library 9, this is also returned when the Play Store app is blocked by the system (for example, in OEM-customized kids mode), a case that previously surfaced as BillingResponse.error. Such results carry a
Play Store is blockeddebug message. -
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
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.