AI-generated Key Takeaways
-
WalletObjectsConstants.Statedetermines how a Wallet Object displays in the Google Wallet app. -
An
ACTIVEobject is visible in the app, while anINACTIVEobject is hidden. -
COMPLETEDobjects have been used and are displayed with other used or expired items. -
An
EXPIREDobject is no longer valid, potentially due to a limited active time.
The state of the Wallet Object.
This type is used to determine how a Wallet Object displays in the Google Wallet app. For example, an inactive object no longer displays in the Google Wallet app.
Constant Summary
| int | ACTIVE | Object is active and displays in Google Wallet app. |
| int | COMPLETED | Object has been used and displays with other used and expired objects. |
| int | EXPIRED | Wallet Object is expired. |
| int | INACTIVE | Object is inactive and hidden from view. |
Constants
public static final int ACTIVE
Object is active and displays in Google Wallet app.
public static final int COMPLETED
Object has been used and displays with other used and expired objects.
public static final int EXPIRED
Wallet Object is expired. A wallet object may expire if you created it to be active only for a limited time. Object is no longer valid. This limited time object has now expired.
public static final int INACTIVE
Object is inactive and hidden from view.