PassConstraints

Container for any constraints that may be placed on passes.

JSON representation
{
  "screenshotEligibility": enum (ScreenshotEligibility),
  "nfcConstraint": [
    enum (NfcConstraint)
  ]
}
Fields
screenshotEligibility

enum (ScreenshotEligibility)

The screenshot eligibility for the pass.

nfcConstraint[]

enum (NfcConstraint)

The NFC constraints for the pass.

ScreenshotEligibility

Defines if/how screenshots may be taken of a pass.

Enums
SCREENSHOT_ELIGIBILITY_UNSPECIFIED Default value, same as ELIGIBLE.
ELIGIBLE Default behavior for all existing Passes if ScreenshotEligibility is not set. Allows screenshots to be taken on Android devices.
INELIGIBLE Disallows screenshots to be taken on Android devices. Note that older versions of Wallet may still allow screenshots to be taken.

NfcConstraint

Defines possible NFC constraints for the pass.

Enums
NFC_CONSTRAINT_UNSPECIFIED Default value, no specified constraint.
BLOCK_PAYMENT Payment cards will not be conveyed while the pass is open.
BLOCK_CLOSED_LOOP_TRANSIT Closed loop transit cards will not be conveyed while the pass is open.