playlist

fun playlist(id: String, title: String?, contents: ItemBuilderConfig = {}): IviMediaItem

Create a browsable and playable media item.

The contents lambda is used to populate it with other media items, and its metadata parameter allows to populate the item's metadata.

Return

A copy of the added item, excluding any children.