ViewUnlockRequirement
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt an, welcher Entsperrmechanismus, falls vorhanden, zum Ansehen der Karte erforderlich ist.
Enums |
VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED |
Standardwert, der UNLOCK_NOT_REQUIRED entspricht. |
UNLOCK_NOT_REQUIRED |
Standardverhalten für alle vorhandenen Karten/Tickets, wenn „ViewUnlockClaimment“ nicht festgelegt ist. |
UNLOCK_REQUIRED_TO_VIEW |
Der Nutzer muss sein Gerät jedes Mal entsperren, wenn die Karte bzw. das Ticket aufgerufen wird. Wenn der Nutzer seine Gerätesperre nach dem Speichern der Karte bzw. des Tickets entfernt, wird er aufgefordert, eine Gerätesperre zu erstellen, bevor die Karte bzw. das Ticket aufgerufen werden kann. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (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."]]],["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"]]