MultipleDevicesAndHoldersAllowedStatus
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Làm rõ lựa chọn ưu tiên của nhà phát hành về việc Wallet có cho phép chia sẻ và lưu cùng một đối tượng thẻ và vé giữa nhiều người dùng và nhiều thiết bị hay không.
Enum |
STATUS_UNSPECIFIED |
Lựa chọn ưu tiên chưa được chỉ định. |
MULTIPLE_HOLDERS |
Người dùng có thể chia sẻ đối tượng Thẻ và vé cũng như có thể lưu đối tượng này trên bất kỳ số lượng thiết bị nào. Đối tác thường sử dụng cách thiết lập này cho những thẻ và vé không cần chỉ cho một người dùng hay ghim vào một thiết bị. |
ONE_USER_ALL_DEVICES |
Một người dùng chỉ có thể lưu một đối tượng nhưng người dùng này có thể xem và sử dụng đối tượng đó trên nhiều thiết bị của họ. Sau khi người dùng đầu tiên lưu đối tượng, không người dùng nào khác được phép xem hoặc lưu đối tượng đó. |
ONE_USER_ONE_DEVICE |
Một người dùng chỉ có thể lưu một đối tượng trên một thiết bị. Chỉ dành cho một số đối tác sử dụng trong một số trường hợp hạn chế. Một ví dụ về trường hợp sử dụng là vé đi phương tiện công cộng phải được "ghim trên thiết bị", nghĩa là chỉ một người dùng có thể lưu, xem và sử dụng vé trên một thiết bị. Hãy liên hệ với nhóm hỗ trợ để biết thêm thông tin. |
multipleHolders |
Bí danh cũ của MULTIPLE_HOLDERS . Không dùng nữa. |
oneUserAllDevices |
Bí danh cũ của ONE_USER_ALL_DEVICES . Không dùng nữa. |
oneUserOneDevice |
Bí danh cũ của ONE_USER_ONE_DEVICE . Không dùng nữa. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThis document outlines the issuer's preference for whether a Wallet pass object can be shared and saved across multiple users and devices.\u003c/p\u003e\n"],["\u003cp\u003eThree main sharing options are available: \u003ccode\u003eMULTIPLE_HOLDERS\u003c/code\u003e (shareable by any user on any device), \u003ccode\u003eONE_USER_ALL_DEVICES\u003c/code\u003e (one user, multiple devices), and \u003ccode\u003eONE_USER_ONE_DEVICE\u003c/code\u003e (one user, one device).\u003c/p\u003e\n"],["\u003cp\u003eLegacy aliases for these options (e.g., \u003ccode\u003emultipleHolders\u003c/code\u003e) are deprecated and should not be used.\u003c/p\u003e\n"]]],["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"],null,["# MultipleDevicesAndHoldersAllowedStatus\n\nClarifies the issuer preference for whether Wallet should allow the same pass object to be shared and saved among more than one user and more than one device.\n\n| Enums ||\n|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `STATUS_UNSPECIFIED` | Unspecified preference. |\n| `MULTIPLE_HOLDERS` | The Pass object is shareable by a user and can be saved by any number of different users, and on any number of devices. Partners typically use this setup for passes that do not need to be restricted to a single user or pinned to a single device. |\n| `ONE_USER_ALL_DEVICES` | An object can only be saved by one user, but this user can view and use it on multiple of their devices. Once the first user saves the object, no other user will be allowed to view or save it. |\n| `ONE_USER_ONE_DEVICE` | An object can only be saved by one user on a single device. Intended for use by select partners in limited circumstances. An example use case is a transit ticket that should be \"device pinned\", meaning it can be saved, viewed and used only by a single user on a single device. Contact support for additional information. |\n| `multipleHolders` | Legacy alias for `MULTIPLE_HOLDERS`. Deprecated. | This item is deprecated! |\n| `oneUserAllDevices` | Legacy alias for `ONE_USER_ALL_DEVICES`. Deprecated. | This item is deprecated! |\n| `oneUserOneDevice` | Legacy alias for `ONE_USER_ONE_DEVICE`. Deprecated. | This item is deprecated! |"]]