Google utilizza la tecnologia AI per tradurre i contenuti nella tua lingua preferita. Le traduzioni generate dall'AI potrebbero contenere errori.
Classe GCKUIImageHints
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un oggetto che fornisce suggerimenti a un GCKUIImagePicker sul tipo e sulle dimensioni di un'immagine da selezionare per la visualizzazione nell'interfaccia utente.
- Dal
- 3.0
Eredita NSObject, <NSCopying> e <NSCoding>.
Inizializzatore di convenienza.
Imposta i dati personalizzati su nil.
- Parameters
-
| imageType | The image type. |
| imageSize | The image size. |
| - (instancetype) initWithImageType: |
|
(GCKMediaMetadataImageType) |
imageType |
| imageSize: |
|
(CGSize) |
imageSize |
| customData: |
|
(NSObject< NSCoding > *__nullable) |
customData |
|
|
| |
Inizializzatore designato.
- 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. |
La dimensione in cui verrà visualizzata l'immagine.
| - (NSObject<NSCoding>*) customData |
|
readnonatomiccopy |
Dati personalizzati facoltativi che possono essere utilizzati per identificare l'immagine.
Deve essere conforme alla codifica chiave-valore.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[],["The `GCKUIImageHints` class provides image selection hints to a `GCKUIImagePicker`. Key actions involve initializing the object with `-initWithImageType:imageSize:` or `-initWithImageType:imageSize:customData:`, which define the desired image type, display size, and optional custom data. This data includes `imageType` to define what type of image is needed, `imageSize` specifying display dimensions, and `customData` for arbitrary, coder-compliant information for custom image selection logic.\n"]]