getSubtitleWithTicks
suspend fun getSubtitleWithTicks(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeStartPositionTicks: Long, routeFormat: String, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false): Response<String>
Gets subtitles in a specified format.
Parameters
routeItemId
The (route) item id.
routeMediaSourceId
The (route) media source id.
routeIndex
The (route) subtitle stream index.
routeStartPositionTicks
The (route) start position of the subtitle in ticks.
routeFormat
The (route) format of the returned subtitle.
endPositionTicks
Optional. The end position of the subtitle in ticks.
copyTimestamps
Optional. Whether to copy the timestamps.
addVttTimeMap
Optional. Whether to add a VTT time map.
Gets subtitles in a specified format.
Parameters
request
The request parameters