इससे यह तय होता है कि पास का स्क्रीनशॉट लिया जा सकता है या नहीं. साथ ही, अगर लिया जा सकता है, तो कैसे लिया जा सकता है.
Enums
SCREENSHOT_ELIGIBILITY_UNSPECIFIED
डिफ़ॉल्ट वैल्यू, ELIGIBLE जैसी ही होती है.
ELIGIBLE
अगर ScreenshotEligibility सेट नहीं है, तो सभी मौजूदा पास के लिए डिफ़ॉल्ट तौर पर यह सेटिंग लागू होती है. Android डिवाइसों पर स्क्रीनशॉट लेने की अनुमति देता है.
INELIGIBLE
Android डिवाइसों पर स्क्रीनशॉट लेने की अनुमति नहीं देता. ध्यान दें कि Wallet के पुराने वर्शन में अब भी स्क्रीनशॉट लेने की अनुमति हो सकती है.
NfcConstraint
पास के लिए, एनएफ़सी से जुड़ी संभावित पाबंदियों के बारे में बताता है.
Enums
NFC_CONSTRAINT_UNSPECIFIED
डिफ़ॉल्ट वैल्यू, कोई खास शर्त नहीं.
BLOCK_PAYMENT
पास खुला होने पर, पेमेंट कार्ड की जानकारी नहीं दी जाएगी.
BLOCK_CLOSED_LOOP_TRANSIT
पास के खुले होने पर, क्लोज़्ड लूप वाले ट्रांज़िट कार्ड की जानकारी नहीं दी जाएगी.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-11-13 (UTC) को अपडेट किया गया."],[[["Pass constraints can be set to control screenshot eligibility and NFC behavior."],["`screenshotEligibility` determines if screenshots of the pass are allowed on Android devices, with options for eligible or ineligible."],["`nfcConstraint` allows restrictions on NFC interactions when the pass is open, such as blocking payments or closed-loop transit cards."],["The default behavior for screenshots is eligible, and there are no NFC constraints by default."]]],["Pass constraints are defined through `screenshotEligibility` and `nfcConstraint`. `screenshotEligibility` controls screenshot capture with `ELIGIBLE` (default) or `INELIGIBLE` options. `nfcConstraint` manages NFC interactions, allowing `BLOCK_PAYMENT` to prevent payment card conveyance and `BLOCK_CLOSED_LOOP_TRANSIT` to block closed-loop transit card conveyance. Unspecified settings use default behaviors: `SCREENSHOT_ELIGIBILITY_UNSPECIFIED` defaults to `ELIGIBLE` and `NFC_CONSTRAINT_UNSPECIFIED` implies no constraints.\n"]]