GCKUIImage Analyticss क्लास
एक ऑब्जेक्ट जो यूज़र इंटरफ़ेस (यूआई) में दिखाने के लिए चुनी जाने वाली इमेज के टाइप और साइज़ के बारे में GCKUIImagePicker को संकेत देता है.
- से
- 3.0
NSObject, <NSकॉपी>, और <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 |
पसंद के मुताबिक बनाया गया (ज़रूरी नहीं) डेटा, जिसका इस्तेमाल इमेज की पहचान करने के लिए किया जा सकता है.
यह की-वैल्यू कोडिंग के मुताबिक होना चाहिए.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["`GCKUIImageHints` provides hints to `GCKUIImagePicker` about the desired image type and size for UI display."],["It includes properties for image type, size, and optional custom data for image identification."],["Developers can use provided initializers to create `GCKUIImageHints` instances with desired attributes."],["The `customData` property can be leveraged by custom `GCKUIImagePicker` implementations for image selection logic."],["This class helps optimize image selection for display within Cast-enabled applications."]]],["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"]]