GCKUIImageHints 类
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
一个对象,可向 GCKUIImagePicker 提供与要选择在界面中显示的图片的类型和大小有关的提示。
- 开始时间
 - 3.0 
 
 
继承 NSObject、<NSCopy> 和 <NSSecureCoding>。
便捷初始化程序。
将自定义数据设置为 nil。
- Parameters
 - 
  
    | imageType | The image type.  | 
    | imageSize | The image size.  | 
  
   
 
 
      
        
          | - (instancetype) initWithImageType:  | 
           | 
          (GCKMediaMetadataImageType)  | 
          imageType | 
        
        
          | imageSize: | 
           | 
          (CGSize)  | 
          imageSize | 
        
        
          | customData: | 
           | 
          (nullable NSObject< NSSecureCoding > *)  | 
          customData  | 
        
        
           | 
           | 
           |  | 
        
      
 
指定的初始化程序。
- Parameters
 - 
  
    | imageType | The image type.  | 
    | imageSize | The image size.  | 
    | customData | The arbitrary custom data that can be used by a custom GCKUIImagePicker to select an image.  | 
  
   
 
 
  
  
      
        
          | - (NSObject<NSSecureCoding>*) customData | 
         
       
   | 
  
readnonatomiccopy   | 
  
 
可选的自定义数据,可用于识别图片。
它必须符合键值对编码规范。
 
 
 
  
  
  
 
  
    
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-25。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The `GCKUIImageHints` class provides image selection hints to a `GCKUIImagePicker`. Key actions include initializing the object with `-initWithImageType:imageSize:` or `-initWithImageType:imageSize:customData:`, the later being the designated initializer. Information includes `imageType` to specify the type, `imageSize` indicating display dimensions, and optional `customData` for unique image identification, compliant with key-value coding. These properties help determine the suitable image to display in the user interface.\n"]]