GCKUIImageHints Sınıfı
GCKUIImagePicker içinde, kullanıcı arayüzünde görüntülenmek üzere seçilecek resmin türü ve boyutu hakkında ipuçları sağlayan bir nesne.
- Since
- 3.0
NSObject, <NSCopy> ve <NSCoding> öğelerini devralır.
Kolaylaştırma başlatıcı.
Özel verileri nil
olarak ayarlar.
- Parameters
-
imageType | The image type. |
imageSize | The image size. |
- (instancetype) initWithImageType: |
|
(GCKMediaMetadataImageType) |
imageType |
imageSize: |
|
(CGSize) |
imageSize |
customData: |
|
(NSObject< NSCoding > *__nullable) |
customData |
|
|
| |
Tanımlayıcı başlatıcı.
- 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. |
Resmin görüntüleneceği boyut.
- (NSObject<NSCoding>*) customData |
|
readnonatomiccopy |
Resmi tanımlamak için kullanılabilecek isteğe bağlı özel veriler.
Anahtar/değer çifti kodlamasına uygun olmalıdır.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-12-06 UTC.
[null,null,["Son güncelleme tarihi: 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."]]],[]]