A basic data structure used to communicate information about an element in the media domain. This element can represent different types of items, from a song to an album to a dashboard representing the content of a media source.
Media items are created by their media source. The source determines which metadata is available.
Constructed using the IviMediaItemBuilder.
The isBrowsable and isPlayable state of a MediaItem determines its role. For example, in a media browsing UI, a browsable IviMediaItem can usually be clicked to see its contents; songs are just playable IviMediaItems, while albums and playlists are both playable and browsable. Normally, at least one of those two flags should be set.
The identification of this media item. This value is specific to the source providing the content. This should be a persistent key for the underlying content. If a source did not provide any identification, it contains an empty string.
Whether it's possible to browse the children of this media item.
Whether it's possible to play this media item.
Contains the metadata of this media item, like the artist or the media art URI. All values are optional.