GroupingInfo
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
      
        
          
            
              | JSON 表示法 | 
          
          
            
              | {
  "sortIndex": integer,
  "groupingId": string
} | 
          
        
      
      
        
          
            
            
          
          
            
              | 字段 | 
          
          
            
              | sortIndex | integer
 与其他卡券一起分组时,用于对卡券进行排序的可选索引。排序索引较低的卡券显示在排序索引较高的卡券之前。如果未指定,系统会假定该值为 INT_MAX。对于排序索引相同的两张卡券,排序行为未定义。 | 
            
              | groupingId | string
 (可选)用于分组显示具有相同 ID 的卡券的分组 ID。可以使用不同类型的卡券进行分组。 | 
          
        
      
    
  
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-25。
  
  
  
    
      [null,null,["最后更新时间 (UTC):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"]]