Media Item
The MediaItem
class is designed to represent an individual media item within a media player.
Key Points:
Holds Information: Stores important information about a media item, like its position in a playlist, its URI, and its metadata (such as title, artist, and album).
Metadata Management: Handles the retrieval and storage of metadata, which provides additional details about the media item.
Equality Operations: Includes methods to compare two media items to check if they are the same.
Basic Properties:
Index: Position of the media item in a playlist.
PlaylistIndex: Index of the playlist this media item belongs to.
Uri: The location (address) of the media item.
Metadata: Additional information about the media item (title, artist, etc.).
Constructor Examples:
Basic Initialization:
With Metadata:
API reference
Last updated