Package-level declarations

Types

Link copied to clipboard
data class Caption(val url: String? = null, val lang: String? = null, val label: String? = null, val isDefault: Boolean? = null, val captionName: String? = null)
Link copied to clipboard
data class Chapter(var title: String, var startTime: String) : Serializable
Link copied to clipboard
Error codes related to VdoPlayer.
Link copied to clipboard
data class ErrorDescription(val errorCode: Int, val errorMsg: String, val httpStatusCode: Int)

Describes an error that may occur during use of any library components like player, downloader, etc.

Link copied to clipboard
class MediaInfo
An immutable object containing information about a playable media.
Link copied to clipboard
data class PlayerOption(val mediaId: String? = "", val title: String? = "", val duration: Long? = 0, val aspectRatio: Double? = 0.0, val audioOnly: Boolean = false, val chapters: ArrayList<Chapter> = arrayListOf(), val captions: ArrayList<Caption> = arrayListOf(), val posters: ArrayList<Posters> = arrayListOf(), val playerConfig: PlayerConfig? = PlayerConfig(), val scrubbingPreviewUrl: String? = "")
Link copied to clipboard
data class Posters(val url: String? = null, val height: Int? = 0)
Link copied to clipboard
An immutable object containing information about a audio, video or captions track in a media.