A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_u_i_image_hints below:

GCKUIImageHints Class | Cast | Google for Developers

GCKUIImageHints Class

Stay organized with collections Save and categorize content based on your preferences.

An object that provides hints to a GCKUIImagePicker about the type and size of an image to be selected for display in the UI.

Since
3.0

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Convenience initializer.

Sets the custom data to nil.

Parameters
imageType The image type. imageSize The image size.
- (instancetype) initWithImageType: (GCKMediaMetadataImageTypeimageType imageSize: (CGSize)  imageSize customData: (nullable NSObject< NSSecureCoding > *)  customData 

Designated initializer.

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.

The size at which the image will be displayed.

- (NSObject<NSSecureCoding>*) customData readnonatomiccopy

Optional custom data that can be used to identify the image.

It must be key-value coding compliant.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4