# cast.[framework](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework).[messages](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages).QueueChange

class static

Represents a queue change message, such as insert, remove, and update.

## Constructor

### QueueChange

new
QueueChange()

## Properties

### changeType

(non-null [cast.framework.messages.QueueChangeType](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages#.QueueChangeType) or undefined)

The actual queue change type.

### insertBefore

(number or undefined)

The ID that the inserted items will precede.

### itemIds

(non-null Array of number or undefined)

The list of changed item IDs.

### reorderItemIds

(non-null Array of number or undefined)

The list of reordered item IDs. This is only used as a response for a
`QUEUE_REORDER` request. The `changeType` becomes `UPDATE`, and `itemIds`
contain the full list of queue items.

### requestId

(number or undefined)

The corresponding request ID.

### sequenceNumber

(number or undefined)

The queue change sequence ID. Used to coordinate state sync between
various senders and the receiver.

### type

non-null [cast.framework.messages.MessageType](https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.messages#.MessageType)