AddressConstants.ErrorCodes
Stay organized with collections
Save and categorize content based on your preferences.
Error codes that could be returned in the data Intent returned to your Activity via its
onActivityResult method. These are retrieved using
EXTRA_ERROR_CODE
.
Constants
public static final int
ERROR_CODE_NO_APPLICABLE_ADDRESSES
Error code returned if the user has no addresses that can be used.
Constant Value: 555
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`AddressConstants.ErrorCodes` provides error codes returned when requesting user addresses."],["These codes, accessed via `EXTRA_ERROR_CODE`, indicate issues like the user having no usable addresses."],["`ERROR_CODE_NO_APPLICABLE_ADDRESSES` (value 555) signifies the user lacks usable addresses."]]],["The `AddressConstants.ErrorCodes` interface defines error codes for data returned to an Activity's `onActivityResult` method. These codes are accessed using `EXTRA_ERROR_CODE`. The interface provides one constant: `ERROR_CODE_NO_APPLICABLE_ADDRESSES`, with a value of 555. This specific error indicates that the user lacks usable addresses. This is returned if there is no user's address to be used.\n"]]