GroupingInfo
نمایندگی JSON |
---|
{
"sortIndex": integer,
"groupingId": string
} |
فیلدها |
---|
sortIndex | integer ایندکس اختیاری برای مرتبسازی پاسها وقتی با پاسهای دیگر گروهبندی میشوند. پاسهایی با شاخص مرتبسازی پایینتر قبل از پاسهایی با شاخص مرتبسازی بالاتر نشان داده میشوند. اگر مشخص نشده باشد، مقدار INT_MAX در نظر گرفته می شود. برای دو پاس با شاخص مرتبسازی یکسان، رفتار مرتبسازی تعریف نشده است. |
groupingId | string شناسه گروهبندی اختیاری برای گروهبندی پاسهای با همان شناسه به صورت بصری با هم. گروه بندی با انواع مختلف پاس مجاز است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-03-13 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-03-13 بهوقت ساعت هماهنگ جهانی."],[[["JSON representation defines the structure for organizing passes within a digital wallet."],["`sortIndex` is an optional integer field used for ordering passes visually, with lower values appearing first."],["`groupingId` is an optional string field enabling visual grouping of passes, potentially of different types, based on shared ID."]]],["The core content describes a JSON structure for organizing passes. It uses two fields: `sortIndex` (integer) and `groupingId` (string). `sortIndex` determines the display order of passes within a group; lower values appear first, with a default of INT_MAX if unspecified. `groupingId` allows passes with different types to be visually grouped together based on shared IDs. Sorting is undefined for passes with the same `sortIndex`.\n"]]