MultipleDevicesAndHoldersAllowedStatus
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
說明核發機構偏好設定,說明錢包是否應允許在多部使用者和多部裝置之間共用及儲存相同的票證物件。
列舉 |
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 的舊版別名,已淘汰。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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"]]