cast.framework.messages. SeekRequestData
Media event SEEK request data.
Constructor
SeekRequestData
new SeekRequestData()
Properties
currentTime
(number or undefined)
Seconds since beginning of content.
customData
(non-null Object or undefined)
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.framework.messages.RequestData#customData
mediaSessionId
(number or undefined)
Id of the media session that the request applies to.
- Inherited from
- cast.framework.messages.RequestData#mediaSessionId
relativeTime
(number or undefined)
Seconds relative to the current playback position. If this field is defined, the currentTime field will be ignored.
requestId
number
Id of the request, used to correlate request/response.
- Inherited from
- cast.framework.messages.RequestData#requestId
resumeState
(cast.framework.messages.SeekResumeState or undefined)
The playback state after a SEEK request.
sequenceNumber
(number or undefined)
A number to synchronize all queue commands. If provided for a queue command, the SDK will verify the queue latest sequence number match the request. Current sequenceNumber is provided as part of outgoing queue changed messages.
- Inherited from
- cast.framework.messages.RequestData#sequenceNumber