AI-generated Key Takeaways
-
QueueRemoveItemsRequest
is a class used to remove specified items from a media queue. -
The constructor
QueueRemoveItemsRequest(itemIdsToRemove)
is used to create an instance, requiring an array of item IDs to remove. -
The
customData
property allows for including custom data with the request for the receiver application. -
The
itemIds
property holds the list of media item IDs intended for removal.
chrome.cast.media. QueueRemoveItemsRequest
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.