getSubtitleDeprecated
suspend fun getSubtitleDeprecated(routeItemId: <Error class: unknown class>, routeMediaSourceId: String, routeIndex: Int, routeFormat: String, itemId: <Error class: unknown class>? = null, mediaSourceId: String? = null, index: Int? = null, format: String? = null, endPositionTicks: Long? = null, copyTimestamps: Boolean? = false, addVttTimeMap: Boolean? = false, startPositionTicks: Long? = 0): Response<String>
Deprecated
This member is deprecated and may be removed in the future
Gets subtitles in a specified format.
Parameters
routeItemId
The (route) item id.
routeMediaSourceId
The (route) media source id.
routeIndex
The (route) subtitle stream index.
routeFormat
The (route) format of the returned subtitle.
itemId
The item id.
mediaSourceId
The media source id.
index
The subtitle stream index.
format
The 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.
startPositionTicks
The start position of the subtitle in ticks.
Deprecated
This member is deprecated and may be removed in the future
Gets subtitles in a specified format.
Parameters
request
The request parameters