chrome.cast.media. EditTracksInfoRequest
A request to modify the text tracks style or change the tracks status. If a trackId does not match the existing trackIds the whole request will fail and no status will change. It is acceptable to change the text track style even if no text track is currently active.
Constructor
EditTracksInfoRequest
new EditTracksInfoRequest(activeTrackIds, textTrackStyle)
Parameter |
|
---|---|
activeTrackIds |
Optional Array of number Value must not be null. |
textTrackStyle |
Optional chrome.cast.media.TextTrackStyle Value must not be null. |
Properties
activeTrackIds
nullable Array of number
Array of the Track trackIds that should be active. If it is not provided, the active tracks will not change. If the array is empty, no track will be active.
requestId
number
textTrackStyle
nullable chrome.cast.media.TextTrackStyle
The requested text track style. If it is not provided the existing style will be used.