SRGMediaItemBuilder

Create a MediaItem that can be parsed by PillarboxMediaSource.

Parameters

mediaItem

Build a new SRGMediaItemBuilder from an existing MediaItem.

Functions

Link copied to clipboard

Build

Link copied to clipboard
fun forceLocation(forceLocation: String?)

Set force location

Link copied to clipboard
fun forceSAM(forceSAM: Boolean)

Set force SAM

Link copied to clipboard
fun host(host: URL)

Set integration host

Link copied to clipboard
fun mediaMetadata(mediaMetadata: MediaMetadata)

Set media metadata

Link copied to clipboard
fun urn(urn: String)

Set urn

Link copied to clipboard
fun vector(vector: String)

Set vector