Permission
Stay organized with collections
Save and categorize content based on your preferences.
Possible values for permission.
Enums |
UNSPECIFIED_PERMISSION |
Unspecified permission. |
NAME |
Ask for user's first and last name. |
DEVICE_PRECISE_LOCATION |
Ask for user's precise location, latitude/longitude, and formatted address. |
DEVICE_COARSE_LOCATION |
Ask for user's coarse location, zip code, city, and country code. |
UPDATE |
Ask for permissions to send updates. |
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-09-18 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-09-18 UTC."],[[["Permission values can be unspecified, related to user name, precise or coarse location, or updates."],["`DEVICE_PRECISE_LOCATION` will request latitude/longitude and formatted address, while `DEVICE_COARSE_LOCATION` only asks for zip code, city, and country code."],["`NAME` permission is used to request the user's first and last name."],["`UPDATE` permission enables sending updates to the user."]]],[]]