Kelas GCKUIImageHints
Objek yang memberikan petunjuk ke GCKUIImagePicker tentang jenis dan ukuran gambar yang akan dipilih untuk ditampilkan di UI.
- Since
- 3,0
Mewarisi NSObject, <NSCopying>, dan <NSCoding>.
Penginisialisasi yang praktis.
Menetapkan data kustom ke nil
.
- Parameters
-
imageType | The image type. |
imageSize | The image size. |
- (instancetype) initWithImageType: |
|
(GCKMediaMetadataImageType) |
imageType |
imageSize: |
|
(CGSize) |
imageSize |
customData: |
|
(NSObject< NSCoding > *__nullable) |
customData |
|
|
| |
Penginisialisasi yang ditentukan.
- 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. |
Ukuran yang digunakan untuk menampilkan gambar.
- (NSObject<NSCoding>*) customData |
|
readnonatomiccopy |
Data kustom opsional yang dapat digunakan untuk mengidentifikasi gambar.
Nama ini harus sesuai dengan coding nilai kunci.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2022-12-06 UTC.
[null,null,["Terakhir diperbarui pada 2022-12-06 UTC."],[[["`GCKUIImageHints` provides hints to `GCKUIImagePicker` about the desired image type and size for UI display."],["It includes properties for image type, image size, and optional custom data for image identification."],["Developers can use initializers to create `GCKUIImageHints` instances with specified image type, size, and custom data."],["The `customData` property allows developers to pass arbitrary data to the `GCKUIImagePicker` for custom image selection logic."]]],[]]