MultipleDevicesAndHoldersAllowedStatus
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อธิบายค่ากำหนดของผู้ออกว่า Wallet ควรอนุญาตให้แชร์และบันทึกบัตรเดียวกันระหว่างผู้ใช้มากกว่า 1 คนและอุปกรณ์มากกว่า 1 เครื่องได้หรือไม่
Enum |
STATUS_UNSPECIFIED |
ค่ากำหนดที่ไม่ได้ระบุ |
MULTIPLE_HOLDERS |
ผู้ใช้สามารถแชร์ออบเจ็กต์ Pass ได้ โดยผู้ใช้หลายคนสามารถบันทึกได้ในทุกอุปกรณ์ โดยปกติแล้วพาร์ทเนอร์จะใช้การตั้งค่านี้สำหรับบัตรที่ไม่จำเป็นต้องจำกัดไว้สำหรับผู้ใช้รายเดียวหรือปักหมุดในอุปกรณ์เดียว |
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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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! |"]]