ViewUnlockRequirement
Defines what unlock mechanism, if any, is required to view the card.
Enums |
VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED |
Default value, same as UNLOCK_NOT_REQUIRED. |
UNLOCK_NOT_REQUIRED |
Default behavior for all the existing Passes if ViewUnlockRequirement is not set. |
UNLOCK_REQUIRED_TO_VIEW |
Requires the user to unlock their device each time the pass is viewed. If the user removes their device lock after saving the pass, then they will be prompted to create a device lock before the pass can be viewed. |
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-23 UTC.
[null,null,["Last updated 2024-10-23 UTC."],[[["By default, passes do not require any unlock mechanism to view."],["`UNLOCK_REQUIRED_TO_VIEW` enforces device unlock each time the pass is viewed and prompts users to create a device lock if it's removed after saving the pass."],["`VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED` and `UNLOCK_NOT_REQUIRED` function identically, allowing pass viewing without unlock requirements."]]],[]]