[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eRepresents a queue change message encompassing actions like insert, remove, and update within the Cast framework.\u003c/p\u003e\n"],["\u003cp\u003eProvides properties detailing the change type, affected item IDs, insertion points, reordered IDs, and associated request/sequence information for queue management.\u003c/p\u003e\n"],["\u003cp\u003eEnables communication and synchronization of queue state between senders and receivers within the Cast ecosystem.\u003c/p\u003e\n"]]],[],null,["# Class: QueueChange\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).QueueChange\n====================================================================================================================================================\n\nclass static\n\nRepresents a queue change message, such as insert, remove, and update.\n\nConstructor\n-----------\n\n### QueueChange\n\nnew\nQueueChange()\n\nProperties\n----------\n\n### changeType\n\n(non-null [cast.framework.messages.QueueChangeType](/cast/docs/reference/web_receiver/cast.framework.messages#.QueueChangeType) or undefined)\n\nThe actual queue change type.\n\n### insertBefore\n\n(number or undefined)\n\nThe ID that the inserted items will precede.\n\n### itemIds\n\n(non-null Array of number or undefined)\n\nThe list of changed item IDs.\n\n### reorderItemIds\n\n(non-null Array of number or undefined)\n\nThe list of reordered item IDs. This is only used as a response for a\n`QUEUE_REORDER` request. The `changeType` becomes `UPDATE`, and `itemIds`\ncontain the full list of queue items.\n\n### requestId\n\n(number or undefined)\n\nThe corresponding request ID.\n\n### sequenceNumber\n\n(number or undefined)\n\nThe queue change sequence ID. Used to coordinate state sync between\nvarious senders and the receiver.\n\n### type\n\nnon-null [cast.framework.messages.MessageType](/cast/docs/reference/web_receiver/cast.framework.messages#.MessageType)"]]