Class

INMediaItem

An object that describes a piece of media content, such as a song, TV show, artist, or podcast playlist.

Declaration

@interface INMediaItem : NSObject

Topics

Creating a Media Item

- initWithIdentifier:title:type:artwork:

Initializes a media item with an identifier, title, type, and artwork.

- initWithIdentifier:title:type:artwork:artist:

Initializes a media item with an identifier, title, type, and artwork.

Describing the Media Item

artwork

Artwork for the media item.

identifier

The value your app uses to identify the media item.

title

The media item title.

artist

The artist associated with the media item.

type

The media item type.

INMediaItemType

The type of content the media item describes.

Relationships

Inherits From

See Also

Data Objects

INMediaSearch

An object that describes a media type to search for, such as a station name, song name, or album name.