GetSubtitleWithTicksDeprecatedRequest

@Serializable
data class GetSubtitleWithTicksDeprecatedRequest(val routeItemId: UUID, val routeMediaSourceId: String, val routeIndex: Int, val routeStartPositionTicks: Long, val routeFormat: String, val itemId: UUID? = null, val mediaSourceId: String? = null, val index: Int? = null, val startPositionTicks: Long? = null, val format: String? = null, 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, itemId: UUID? = null, mediaSourceId: String? = null, index: Int? = null, startPositionTicks: Long? = null, format: String? = null, 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 = "format")
val format: String?

The format of the returned subtitle.

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

The subtitle stream index.

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

The item id.

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

The media source id.

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.

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

The start position of the subtitle in ticks.