GetSubtitleRequest

data class GetSubtitleRequest(val routeItemId: UUID, val routeMediaSourceId: String, val routeIndex: Int, val routeFormat: String, val endPositionTicks: Long? = null, val copyTimestamps: Boolean? = false, val addVttTimeMap: Boolean? = false, val startPositionTicks: Long? = 0)

Subtitles in a specified format.

Constructors

Link copied to clipboard
constructor(routeItemId: UUID, routeMediaSourceId: String, routeIndex: Int, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false, startPositionTicks: Long? = 0)

Properties

Link copied to clipboard

Optional. Whether to add a VTT time map.

Link copied to clipboard

Optional. Whether to copy the timestamps.

Link copied to clipboard

Optional. The end position of the subtitle in ticks.

Link copied to clipboard

The (route) format of the returned subtitle.

Link copied to clipboard

The (route) subtitle stream index.

Link copied to clipboard

The (route) item id.

Link copied to clipboard

The (route) media source id.

Link copied to clipboard

The start position of the subtitle in ticks.