Liste der Warteschlangenelemente, die aktualisiert werden sollen. Es findet keine Neuanordnung statt. Die Elemente behalten die vorhandene Reihenfolge bei und werden vollständig durch die angegebenen ersetzt, einschließlich der Medieninformationen. Die nicht in dieser Liste enthaltenen Elemente bleiben unverändert. Sobald das Element geladen wurde (wenn es sich bei dem Element um das aktuelle Element handelt), können die Informationen zu den Tracks nicht mehr geändert werden. Ist eines der Elemente nicht vorhanden, wird es ignoriert.
Der Wert darf nicht null sein.
Attribute
customData
Objekt, für das Nullwerte zulässig sind
Benutzerdefinierte Daten für die Empfängeranwendung.
Liste der zu aktualisierenden Warteschlangenelemente. Es findet keine Neuanordnung statt. Die Elemente behalten die vorhandene Reihenfolge bei und werden vollständig durch die angegebenen ersetzt, einschließlich der Medieninformationen. Die nicht in dieser Liste enthaltenen Elemente bleiben unverändert. Sobald das Element geladen wurde (wenn es sich bei dem Element um das aktuelle Element handelt), können die Informationen zu den Tracks nicht mehr geändert werden. Ist eines der Elemente nicht vorhanden, wird es ignoriert.
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eQueueUpdateItemsRequest\u003c/code\u003e is used to update existing items within a media queue on a Cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt allows updating properties of existing queue items, including custom data and media information, without changing their order.\u003c/p\u003e\n"],["\u003cp\u003eItems not included in the request remain unchanged, and any non-existent items are ignored.\u003c/p\u003e\n"],["\u003cp\u003eTrack information for the currently playing item cannot be modified using this request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eitemsToUpdate\u003c/code\u003e property is required and must contain an array of \u003ccode\u003echrome.cast.media.QueueItem\u003c/code\u003e objects.\u003c/p\u003e\n"]]],["The `QueueUpdateItemsRequest` class manages updates to a media queue. It uses a list of `QueueItem` objects to modify existing queue entries. Updates fully replace existing items, including their media information, while unmentioned items remain unchanged. Item order is preserved. `itemsToUpdate` are used to perform the updates. `customData` property allows for sending custom application data. If an item in the request does not exist it is ignored.\n"],null,["# Class: QueueUpdateItemsRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).QueueUpdateItemsRequest\n=============================================================================================================================================\n\nclass static\n\nA request to update properties of the existing items in the media queue.\n\nConstructor\n-----------\n\n### QueueUpdateItemsRequest\n\nnew\nQueueUpdateItemsRequest(itemsToUpdate)\n\n| #### Parameter ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| itemsToUpdate | Array of non-null [chrome.cast.media.QueueItem](/cast/docs/reference/web_sender/chrome.cast.media.QueueItem) List of queue items to be updated. No reordering will happen, the items will retain the existing order and will be fully replaced with the ones provided, including the media information. The items not provided in this list will remain unchanged. The tracks information can not change once the item is loaded (if the item is the currentItem). If any of the items does not exist it will be ignored. Value must not be null. |\n\nProperties\n----------\n\n### customData\n\nnullable Object\n\nCustom data for the receiver application.\n\n### items\n\nnon-null Array of non-null [chrome.cast.media.QueueItem](/cast/docs/reference/web_sender/chrome.cast.media.QueueItem)\n\nList of queue items to be updated. No reordering will happen, the items\nwill retain the existing order and will be fully replaced with the ones\nprovided, including the media information. The items not provided in this\nlist will remain unchanged. The tracks information can not change once\nthe item is loaded (if the item is the currentItem). If any of the items\ndoes not exist it will be ignored."]]