GroupingInfo
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        
          
            
              | JSON 表示法 | 
          
          
            
              | {
  "sortIndex": integer,
  "groupingId": string
} | 
          
        
      
      
        
          
            
            
          
          
            
              | 欄位 | 
          
          
            
              | sortIndex | integer
 當票證與其他票證一起分組時,用來排序的選用索引。排序索引較低的票證會顯示在排序索引較高的票證之前。如未指定,系統會假設該值為 INT_MAX。針對具有相同排序索引的兩個票證,排序行為未定義。 | 
            
              | groupingId | string
 選用群組 ID,可將含有相同 ID 的票證以視覺化方式分組。可以使用不同類型的票證進行分組。 | 
          
        
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-25 (世界標準時間)。
  
  
  
    
      [null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["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"]]