item

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

Create a media item which is not playable nor browsable.

The contents lambda is used to populate it with other media items (although that is normally not possible), and its metadata parameter allows to populate the item's metadata.

Return

A copy of the added item, excluding any children.