SRGMediaItem
A MediaItem for SRG SSR content provided with an URN.
val mediaItem:MediaItem = SRGMediaItem("urn:rts:audio:3262363") {
host(IlHost.Default)
vector(Vector.TV)
}
Content copied to clipboard
It can be edited after with:
val mediaItem:MediaItem = sourceItem.buildUpon {
urn("urn:rts:video:1234")
}
Content copied to clipboard
Receiver
Return
A MediaItem that handles a URN.
Parameters
urn
The URN.
block
The block to configure SRGMediaItemBuilder.