OGMediaItem

Immutable description of a piece of media to play.

Types

Link copied to clipboard
class Builder(url: String)

Properties

Link copied to clipboard

Ad configuration, interpreted by the player's active AdsProvider.

Link copied to clipboard

Rating icons shown at program start, in list order (empty = none).

Link copied to clipboard
Link copied to clipboard

MIME type of the manifest or container when the URL does not reveal it: application/x-mpegURL for an HLS manifest or application/dash+xml for a DASH one served from an extensionless URL. Null (the default) infers the type from the URL — an extensionless manifest would then be treated as a progressive file.

Link copied to clipboard

Poster image shown by the UI until playback first starts.

Link copied to clipboard
Link copied to clipboard

URL of a WebVTT trick-play thumbnail track (sprite or per-frame images).

Link copied to clipboard
Link copied to clipboard
val url: String

Functions

Link copied to clipboard
open override fun toString(): String