MultipleDevicesAndHoldersAllowedStatus
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اولویت صادرکننده را روشن میکند که آیا Wallet باید به اشتراکگذاری و ذخیره یک شیء عبور بین بیش از یک کاربر و بیش از یک دستگاه اجازه دهد یا خیر.
Enums |
---|
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 . منسوخ. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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! |"]]