تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eUiManager\u003c/code\u003e class provides an interface for managing the user interface of the Cast application.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetSecondaryImage\u003c/code\u003e method allows developers to set a secondary image, specifying its position and URL.\u003c/p\u003e\n"]]],["The `UiManager` class offers a method, `setSecondaryImage`, to manage the display of a secondary image within the UI. This method takes two parameters: `position`, defining where the image should be rendered using `cast.framework.ui.SecondaryImagePosition`, and `url`, a string representing the image's location. Both the position and url are required to set up the image. The `UiManager` provides the tool to manage these visual elements.\n"],null,["# Class: UiManager\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[ui](/cast/docs/reference/web_receiver/cast.framework.ui).UiManager\n======================================================================================================================================\n\nclass static\n\nProvides an interface for managing the UI.\n\nMethod\n------\n\n### setSecondaryImage\n\nsetSecondaryImage(position, url)\n\nSets secondary image.\n\n| #### Parameter ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| position | [cast.framework.ui.SecondaryImagePosition](/cast/docs/reference/web_receiver/cast.framework.ui#.SecondaryImagePosition) The position where the secondary UI should be rendered. Value must not be null. |\n| url | string The URL where the secondary image is hosted. |"]]