ViewUnlockRequirement
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
המדיניות הזו מגדירה איזה מנגנון לביטול נעילה, אם בכלל, נדרש כדי להציג את הכרטיס.
טיפוסים בני מנייה (enums) |
VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED |
ערך ברירת המחדל, זהה לערך UNLOCK_NOT_REQUIRED. |
UNLOCK_NOT_REQUIRED |
ההתנהגות שמוגדרת כברירת מחדל בכל הכרטיסים הקיימים, אם לא מוגדרת View UnlockRequirement. |
UNLOCK_REQUIRED_TO_VIEW |
הפעולה הזו מחייבת את המשתמש לבטל את נעילת המכשיר בכל פעם שצופים בכרטיס. אם משתמשים מסירים את נעילת המכשיר אחרי שמירת הכרטיס, הם יתבקשו ליצור נעילת מכשיר לפני שיהיה אפשר להציג את הכרטיס. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]