ViewUnlockRequirement
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
카드를 보는 데 필요한 잠금 해제 메커니즘(있는 경우)을 정의합니다.
열거형 |
VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED |
기본값이며 UNLOCK_NOT_REQUIRED와 동일합니다. |
UNLOCK_NOT_REQUIRED |
ViewUnlockRequirement가 설정되지 않은 경우 모든 기존 패스의 기본 동작입니다. |
UNLOCK_REQUIRED_TO_VIEW |
패스를 볼 때마다 사용자가 기기를 잠금 해제해야 합니다. 사용자가 패스를 저장한 후 기기 잠금을 삭제하면 패스를 보기 전에 기기 잠금을 생성하라는 메시지가 표시됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eBy default, passes do not require any unlock mechanism to view.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNLOCK_REQUIRED_TO_VIEW\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVIEW_UNLOCK_REQUIREMENT_UNSPECIFIED\u003c/code\u003e and \u003ccode\u003eUNLOCK_NOT_REQUIRED\u003c/code\u003e function identically, allowing pass viewing without unlock requirements.\u003c/p\u003e\n"]]],["The core content outlines the requirements for viewing a digital card, focusing on device unlock mechanisms. `UNLOCK_NOT_REQUIRED` is the default, meaning no unlock is necessary. `UNLOCK_REQUIRED_TO_VIEW` mandates that the user unlock their device each time they want to see the card. If the user removes their device lock after adding a pass with this option, they will be asked to set a lock to enable pass viewing. `VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED` is the default value and behaves the same as `UNLOCK_NOT_REQUIRED`.\n"],null,["# ViewUnlockRequirement\n\nDefines what unlock mechanism, if any, is required to view the card.\n\n| Enums ||\n|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED` | Default value, same as UNLOCK_NOT_REQUIRED. |\n| `UNLOCK_NOT_REQUIRED` | Default behavior for all the existing Passes if ViewUnlockRequirement is not set. |\n| `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. |"]]