GetSubtitleWithTicksRequest

@Serializable
data class GetSubtitleWithTicksRequest(val routeItemId: UUID, val routeMediaSourceId: String, val routeIndex: Int, val routeStartPositionTicks: Long, val routeFormat: String, val endPositionTicks: Long? = null, val copyTimestamps: Boolean? = false, val addVttTimeMap: Boolean? = false)

Subtitles in a specified format.

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "addVttTimeMap")
val addVttTimeMap: Boolean?

Optional. Whether to add a VTT time map.

Link copied to clipboard
@SerialName(value = "copyTimestamps")
val copyTimestamps: Boolean?

Optional. Whether to copy the timestamps.

Link copied to clipboard
@SerialName(value = "endPositionTicks")
val endPositionTicks: Long?

Optional. The end position of the subtitle in ticks.

Link copied to clipboard
@SerialName(value = "routeFormat")
val routeFormat: String

The (route) format of the returned subtitle.

Link copied to clipboard
@SerialName(value = "routeIndex")
val routeIndex: Int

The (route) subtitle stream index.

Link copied to clipboard
@SerialName(value = "routeItemId")
val routeItemId: UUID

The (route) item id.

Link copied to clipboard
@SerialName(value = "routeMediaSourceId")
val routeMediaSourceId: String

The (route) media source id.

Link copied to clipboard
@SerialName(value = "routeStartPositionTicks")
val routeStartPositionTicks: Long

The (route) start position of the subtitle in ticks.