GroupingInfo
JSON 表現 |
{
"sortIndex": integer,
"groupingId": string
} |
フィールド |
sortIndex |
integer
他のパスとグループ化されている場合にパスを並べ替えるためのインデックス(省略可)。並べ替えインデックスが低いパスは、並べ替えインデックスが高いパスよりも先に表示されます。指定しない場合、値は INT_MAX とみなされます。並べ替えインデックスが同じである 2 つのパスの並べ替え動作は定義されません。
|
groupingId |
string
同じ ID を持つパスを視覚的にまとめてグループ化するための、オプションのグループ化 ID。異なる種類のパスをグループ化することは可能です。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 UTC。"],[[["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"]]