A request to remove a list of items from the queue. If the remaining queue is
empty, the media session will be terminated.
Constructor
QueueRemoveItemsRequest
new
QueueRemoveItemsRequest(itemIdsToRemove)
Parameter
itemIdsToRemove
Array of number
The list of media item IDs to
remove. Must not be null or empty.
Value must not be null.
Properties
customData
nullable Object
Custom data for the receiver application.
itemIds
non-null Array of number
The list of media item IDs to remove. If any of the items does not exist
it will be ignored. Duplicated item IDs will also be ignored. Must not be
null or empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`chrome.cast.media.QueueRemoveItemsRequest` is used to remove items from the media queue during a Cast session."],["It requires an array of `itemIds` to specify which items should be removed."],["If the queue becomes empty after removal, the media session will end."],["Custom data can be included in the request for the receiver application."]]],[]]