فایل GCKUIImageHints.h
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
GCKMediaMetadataImageType enum. بیشتر...
GCKMediaMetadataImageType enum.
Enum نوع تصویر فراداده رسانه را تعریف می کند.
- از آنجا که
- 3.0
شمارشگر |
---|
GCKMediaMetadataImageTypeCustom | تصویری که توسط یک نمای سفارشی ارائه شده توسط برنامه استفاده می شود. |
GCKMediaMetadataImageTypeCastDialog | تصویری که در گفتگوی Cast استفاده میشود، که با ضربه زدن روی دکمه Cast ظاهر میشود. |
GCKMediaMetadataImageTypeMiniController | تصویری که در کنترلر مینی مدیا استفاده می شود. |
GCKMediaMetadataImageTypeBackground | تصویری که به عنوان پس زمینه، پوستر یا تصویر تمام صفحه نمایش داده می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGCKUIImageHints\u003c/code\u003e class and the \u003ccode\u003eGCKMediaMetadataImageType\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKUIImageHints\u003c/code\u003e provides hints for selecting images to display from a \u003ccode\u003eGCKMediaMetadata\u003c/code\u003e object, considering type and size.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKMediaMetadataImageType\u003c/code\u003e defines the purpose of an image within the Cast context, such as for a custom view, the Cast dialog, the mini controller, or as a background.\u003c/p\u003e\n"],["\u003cp\u003eThese components are part of the Google Cast SDK for iOS, specifically version 3.0 and later, and aid in managing media metadata images for casting.\u003c/p\u003e\n"]]],["The document outlines `GCKUIImageHints`, a class that provides image selection hints to `GCKUIImagePicker` regarding image type and size for UI display. It also defines the `GCKMediaMetadataImageType` enumeration, specifying types like `Custom`, `CastDialog`, `MiniController`, and `Background`. These types categorize images based on their usage within the application, such as in the Cast dialog, the mini media controller, or as a background image.\n"],null,["# GCKUIImageHints.h File\n\n[Classes](#nested-classes) \\| [Enumerations](#enum-members) \nGCKUIImageHints.h File Reference \nGCKMediaMetadataImageType enum.\n[More...](#details)\n\n|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Classes ------- ||\n| class | [GCKUIImageHints](/cast/v3/reference/ios/interface_g_c_k_u_i_image_hints) |\n| | An object that provides hints to a [GCKUIImagePicker](/cast/v3/reference/ios/protocol_g_c_k_u_i_image_picker-p \"An object used for selecting an image for a given purpose from a GCKMediaMetadata object...\") about the type and size of an image to be selected for display in the UI. [More...](/cast/v3/reference/ios/interface_g_c_k_u_i_image_hints#details) |\n| ||\n\n|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Enumerations ------------ ||\n| enum | [GCKMediaMetadataImageType](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8) { [GCKMediaMetadataImageTypeCustom](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8a85d1d486258d212f408b7aa57e1738c2) = 0, [GCKMediaMetadataImageTypeCastDialog](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8a090483e1f3b210cee2032c6b52204eec) = 1, [GCKMediaMetadataImageTypeMiniController](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8a8f742540c7a2a54a6cf82bbc6b9fb639) = 2, [GCKMediaMetadataImageTypeBackground](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8aebbc26ab36861a5acc926ab1987b055b) = 3 } |\n| | Enum defining a media metadata image type. [More...](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8) |\n| ||\n\nDetailed Description\n--------------------\n\nGCKMediaMetadataImageType enum.\n\nEnumeration Type Documentation\n------------------------------\n\n|---------------------------------------------------------------------------------------------------------------------|\n| enum [GCKMediaMetadataImageType](/cast/v3/reference/ios/g_c_k_u_i_image_hints_8h#a31bf487ba9561c0c807a4ee3a42676d8) |\n\nEnum defining a media metadata image type.\n\nSince\n: 3.0\n\n| Enumerator ||\n|-----------------------------------------|-------------------------------------------------------------------------------|\n| GCKMediaMetadataImageTypeCustom | An image used by a custom view provided by the application. |\n| GCKMediaMetadataImageTypeCastDialog | An image used in the Cast dialog, which appears when tapping the Cast button. |\n| GCKMediaMetadataImageTypeMiniController | An image used in the mini media controller. |\n| GCKMediaMetadataImageTypeBackground | An image displayed as a background, poster, or fullscreen image. |"]]