PassConstraints
패스에 배치할 수 있는 제약조건의 컨테이너입니다.
ScreenshotEligibility
패스의 스크린샷을 찍을 수 있는지 여부와 방법을 정의합니다.
열거형 |
SCREENSHOT_ELIGIBILITY_UNSPECIFIED |
기본값으로 ELIGIBLE과 동일합니다. |
ELIGIBLE |
ScreenshotEligibility가 설정되지 않은 경우 모든 기존 패스의 기본 동작입니다. Android 기기에서 스크린샷을 찍을 수 있습니다. |
INELIGIBLE |
Android 기기에서 스크린샷을 찍는 것을 허용하지 않습니다. 이전 버전의 월렛에서는 계속해서 스크린샷을 찍을 수 있습니다. |
NfcConstraint
패스에 가능한 NFC 제약 조건을 정의합니다.
열거형 |
NFC_CONSTRAINT_UNSPECIFIED |
기본값이며 지정된 제약 조건이 없습니다. |
BLOCK_PAYMENT |
패스가 열려 있는 동안에는 결제 카드가 전달되지 않습니다. |
BLOCK_CLOSED_LOOP_TRANSIT |
패스가 열려 있는 동안 폐쇄 루프 교통카드는 전송되지 않습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-13(UTC)
[null,null,["최종 업데이트: 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"]]