Contenuti per il carosello di esplorazione dei contenuti multimediali. Questi contenuti devono essere utilizzati sia per l'interfaccia utente di navigazione dei contenuti multimediali sullo schermo IDLE sia per la schermata dei contenuti correlati durante la riproduzione.
Proporzioni di tutte le immagini nel carosello di esplorazione dei contenuti multimediali. Ti consigliamo vivamente di specificare l'immagine dell'elemento della scheda sfoglia fornita nel campo EsploraContentItem#image corrispondente al valore targetAspetto. Se l'immagine è troppo stretta o alta, apparirà pillarbox. Se l'immagine è troppo larga/corta, verrà applicata come letterbox.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.ui.BrowseContent\u003c/code\u003e displays a media browse carousel for both IDLE screen and related content during playback.\u003c/p\u003e\n"],["\u003cp\u003eIt is constructed using an array of \u003ccode\u003ecast.framework.ui.BrowseItem\u003c/code\u003e (maximum 30) and an optional title.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eitems\u003c/code\u003e, \u003ccode\u003etargetAspectRatio\u003c/code\u003e (to manage image display), and \u003ccode\u003etitle\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eImages in the browse items should ideally match the \u003ccode\u003etargetAspectRatio\u003c/code\u003e to avoid letterboxing or pillarboxing.\u003c/p\u003e\n"]]],["`BrowseContent` manages media browse carousel content for both the IDLE and related content screens. It's instantiated using `BrowseContent(browseItems, title)`, accepting an array of `BrowseItem` objects (max 30) and an optional title. Key properties include `items`, holding the `BrowseItem` list, `targetAspectRatio` defining image aspect ratios, and `title` for the list's label. Excess items beyond 30 are truncated. `targetAspectRatio` is advised for image consistency, as images that do not fit will be pillarboxed or letterboxed.\n"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[ui](/cast/docs/reference/web_receiver/cast.framework.ui).BrowseContent \nclass static\n\nContent for the media browse carousel. This content should be used\nfor both media browse UI on IDLE screen and related content screen during\nplayback.\n\nConstructor\n\nBrowseContent\n\nnew\nBrowseContent(browseItems, title)\n\n| Parameter ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| browseItems | Array of non-null [cast.framework.ui.BrowseItem](/cast/docs/reference/web_receiver/cast.framework.ui.BrowseItem) List of browse items. Maximum items count is 30. Excess items will be truncated. Value must not be null. |\n| title | Optional string Title of the list. |\n\nProperties\n\nitems\n\nnon-null Array of non-null [cast.framework.ui.BrowseItem](/cast/docs/reference/web_receiver/cast.framework.ui.BrowseItem)\n\nList of browse items. Maximum items count is 30. Excess items will be\ntruncated.\n\ntargetAspectRatio\n\n(non-null [cast.framework.ui.BrowseImageAspectRatio](/cast/docs/reference/web_receiver/cast.framework.ui#.BrowseImageAspectRatio) or undefined)\n\nAspect ratio of all images in the media browse carousel.\nIt's highly recommended to have browse item image provided in\nBrowseContentItem#image matching targetAspectRatio value.\nIf image is too narrow/tall, it will be pillarboxed.\nIf image is too wide/short, it will be letterboxed.\n\ntitle\n\n(string or undefined)\n\nTitle of the list."]]