Constructor

QueueData

new QueueData(id, name, description, repeatMode, items, startIndex, startTime)

Parameter

id

Optional

string

Id of the queue.

name

Optional

string

Name of the queue.

description

Optional

string

Description of the queue.

repeatMode

Optional

cast.receiver.media.RepeatMode

How to repeat the queue

items

Optional

Array of non-null cast.receiver.media.QueueItem

The queue items associated with the queue which can often be omitted for a cloud queue or a receiver implemented queue.

Value must not be null.

startIndex

Optional

number

The index of the item in the queue that should be used to start playback first.

startTime

Optional

number

Seconds (since the beginning of content) to start playback of the first item.

Properties

description

(string or undefined)

Description of the queue.

entity

(string or undefined)

Optional Queue entity id, provide Google Assistant deep link.

id

(string or undefined)

Id of the queue.

items

(non-null Array of non-null cast.receiver.media.QueueItem or undefined)

Array of queue items. It is sorted (first element will be played first).

name

(string or undefined)

Name of the queue.

queueType

(non-null cast.receiver.media.QueueType or undefined)

Queue type, e.g. album, playlist, radio station, tv series, etc.

repeatMode

(cast.receiver.media.RepeatMode or undefined)

Continuous playback behavior of the queue.

startIndex

(number or undefined)

The index of the item in the queue that should be used to start playback first.

startTime

(number or undefined)

Seconds (since the beginning of content) to start playback of the first item.