PurchaseStateWrapper enum
Possible state of a PurchaseWrapper.
Wraps
BillingClient.api.Purchase.PurchaseState
.
- See also: PurchaseWrapper.
Values
- unspecified_state → const PurchaseStateWrapper
-
The state is unspecified.
No actions on the PurchaseWrapper should be performed on this state. This is a catch-all. It should never be returned by the Play Billing Library.
- purchased → const PurchaseStateWrapper
-
The user has completed the purchase process.
The production should be delivered and then the purchase should be acknowledged.
- See also BillingClient.acknowledgePurchase for more details on acknowledging purchases.
- pending → const PurchaseStateWrapper
-
The user has started the purchase process.
The user should follow the instructions that were given to them by the Play Billing Library to complete the purchase.
You can also choose to remind the user to complete the purchase if you detected a PurchaseWrapper is still in the
pending
state in the future while calling BillingClient.queryPurchases.
Properties
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<
PurchaseStateWrapper> - A constant List of the values in this enum, in order of their declaration.