Constructor

EditTracksInfoRequest

new EditTracksInfoRequest(opt_activeTrackIds, opt_textTrackStyle)

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.

Parameter

opt_activeTrackIds

Optional

Array of number

opt_textTrackStyle

Optional

chrome.cast.media.TextTrackStyle

Properties

activeTrackIds

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.