MultipleDevicesAndHoldersAllowedStatus
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
阐明了发卡机构的偏好设置,以确定 Google 钱包是否应允许在多名用户和多台设备之间共享和保存同一卡券对象。
枚举 |
STATUS_UNSPECIFIED |
未指定偏好设置。 |
MULTIPLE_HOLDERS |
卡券对象可由用户共享,并且可以由任意数量的不同用户和任意数量的设备保存。合作伙伴通常会将此设置用于不需要仅限单个用户或固定到单一设备的卡券。 |
ONE_USER_ALL_DEVICES |
一个对象只能由一位用户保存,但此用户可以在自己的多台设备上查看和使用该对象。第一个用户保存对象后,其他用户将无法再查看或保存该对象。 |
ONE_USER_ONE_DEVICE |
一个对象只能由一位用户在一台设备上保存。仅供特定合作伙伴在有限情况下使用。例如,公交车票应该“固定到设备”,这意味着它只能由用户在一台设备上保存、查看和使用。如需了解详情,请与支持团队联系。 |
multipleHolders |
MULTIPLE_HOLDERS 的旧别名,已弃用。
|
oneUserAllDevices |
ONE_USER_ALL_DEVICES 的旧别名,已弃用。
|
oneUserOneDevice |
ONE_USER_ONE_DEVICE 的旧别名,已弃用。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["This document outlines the issuer's preference for whether a Wallet pass object can be shared and saved across multiple users and devices."],["Three main sharing options are available: `MULTIPLE_HOLDERS` (shareable by any user on any device), `ONE_USER_ALL_DEVICES` (one user, multiple devices), and `ONE_USER_ONE_DEVICE` (one user, one device)."],["Legacy aliases for these options (e.g., `multipleHolders`) are deprecated and should not be used."]]],["The core content details issuer preferences for pass object sharing. `MULTIPLE_HOLDERS` allows any number of users to save the pass on multiple devices. `ONE_USER_ALL_DEVICES` restricts the pass to one user, usable across their devices. `ONE_USER_ONE_DEVICE` limits the pass to a single user and device. `STATUS_UNSPECIFIED` means the preference isn't defined. Legacy aliases for these options, multipleHolders, oneUserAllDevices, and oneUserOneDevice, are deprecated.\n"]]