Package-level declarations

Types

Link copied to clipboard

A video with a media url and optional ad breaks. Ad breaks can either be provided as a list of AdBreak or as a URL to an ad schedule, such as VMAP. See available constructors for more.

Link copied to clipboard
data class FlowplayerMedia @JvmOverloads constructor(val mediaId: String, val playerId: String, val maxVideoBitrate: Int? = null) : Media

A Flowplayer video has a mediaId and a playerId. Preparing the player with such a video, fetches a Flowplayer config that contains all the relevant information for the playback to start.

Link copied to clipboard
open class Media(sessionId: String = UUID.randomUUID().toString()) : Parcelable

Base interface to be implemented by all different types of media.

Link copied to clipboard
data class MediaMetadata(val title: String?, val subtitle: String?, val posterImage: String?)

The media's metadata.

Link copied to clipboard
data class Subtitle(val label: String, val subtitleUrl: String, val mimeType: String? = null)

The media's subtitle.