subtitle

fun subtitle(id: String, title: String? = null, extras: Map<String, String> = mapOf()): Streamable

Creates a Streamable with the given id, quality, title, and extras for a subtitle media.

Return

A Streamable with the given id, title, and extras for a subtitle media

Parameters

id

The id of the streamable item

title

The title of the streamable item

extras

Any extra data you want to associate with the streamable item