Constructor

LoadRequestData

new LoadRequestData()

Extends
cast.receiver.MediaManager.RequestData

Properties

activeTrackIds

(non-null Array of number or undefined)

Array of trackIds that are active. If the array is not provided, the default tracks will be active.

autoplay

(boolean or undefined)

If the autoplay parameter is specified, the media player will begin playing the content when it is loaded. Even if autoplay is not specified,the media player implementation may choose to begin playback immediately.

credentials

(string or undefined)

Optional user credentials.

credentialsType

(string or undefined)

Optional credentials type. The type 'cloud' is a reserved type used by load requests that were originated by voice assistant commands.

currentTime

(number or undefined)

Seconds since beginning of content. If the content is live content, and currentTime is not specified, the stream will start at the live position.

customData

unknown

Application-specific data for this request. It enables the sender and receiver to easily extend the media protocol without having to use a new namespace with custom messages.

Inherited from
cast.receiver.MediaManager.RequestData#customData

media

non-null cast.receiver.media.MediaInformation

If the autoplay parameter is specified, the media player will begin playing the content when it is loaded. Even if autoplay is not specified, the media player implementation may choose to begin playback immediately.

mediaSessionId

unknown

Id of the media session that the request applies to.

Inherited from
cast.receiver.MediaManager.RequestData#mediaSessionId

playbackRate

(number or undefined)

The media playback rate.

queueData

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

Queue data.

requestId

unknown

Id of the request, used to correlate request/response.

Inherited from
cast.receiver.MediaManager.RequestData#requestId