[[["容易理解","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-25 (世界標準時間)。"],[[["\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. |"]]