ملف GCKUIImageHints.h
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تعداد GCKMediaMetadataImageType.
المزيد...
تعداد GCKMediaMetadataImageType.
قيم تعداد تحدّد نوع صورة بيانات وصفية للوسائط.
- منذ
- 3.0
العدّاد |
---|
GCKMediaMetadataImageTypeCustom |
صورة يستخدمها عرض مخصص يوفره التطبيق.
|
GCKMediaMetadataImageTypeCastDialog |
صورة مستخدمة في مربّع حوار البث، وتظهر عند النقر على الزر "إرسال".
|
أداة GCKMediaMetadataImageTypeMiniController |
صورة تُستخدَم في وحدة التحكّم في الوسائط المصغّرة.
|
GCKMediaMetadataImageTypeBack |
صورة يتم عرضها كخلفية أو ملصق أو صورة ملء الشاشة.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]