GCKUIImageHints क्लास
ऐसा ऑब्जेक्ट जो यूज़र इंटरफ़ेस (यूआई) में दिखाने के लिए इमेज के टाइप और साइज़ के बारे में GCKUIImagePicker को संकेत देता है.
- सिंस
- 3.0
NSObject, <NSCopying>, और <NSCoding> इनहेरिट करता है.
सुविधा शुरू करने वाला.
कस्टम डेटा को nil
पर सेट करता है.
- Parameters
-
imageType | The image type. |
imageSize | The image size. |
- (instancetype) initWithImageType: |
|
(GCKMediaMetadataImageType) |
imageType |
imageSize: |
|
(CGSize) |
imageSize |
customData: |
|
(NSObject< NSCoding > *__nullable) |
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<NSCoding>*) customData |
|
readnonatomiccopy |
वैकल्पिक कस्टम डेटा, जिसका इस्तेमाल इमेज की पहचान करने के लिए किया जा सकता है.
यह कोड की वैल्यू के हिसाब से होना चाहिए.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-12-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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."]]],[]]