MonoTouch.MediaPlayer.MPMediaItem Class
A single piece of media, such as a song or video.

See Also: MPMediaItem Members

Syntax

[MonoTouch.Foundation.Register("MPMediaItem", true)]
public class MPMediaItem : MPMediaEntity

Remarks

Instances of this object expose high-level properties that can be consumed from C# to explore the metadata associated with this media item.

Media Items have persistent identifiers that can be used as unique identifiers across application launches and as long as the media item has not been changed or synchronized again with the host computer. The MPMediaItem.PersistentID is the persistent ID for the media item. There are also persistent identifiers for the album, the composer, podcast, genre and artists.

For low-level access to the metadat, this class exposes the low-level MPMediaItem.ValueForProperty method and various static properties with the suffix "Property" and the return type NSString.

Related content

Requirements

Namespace: MonoTouch.MediaPlayer
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0