Structure

MPMediaType

The properties used to define the type for a media item.

Declaration

struct MPMediaType

Overview

Media item types can be used as possible values for the MPMediaItemPropertyMediaType property. A media item can have more than one media item type.

Topics

Constants

static var music: MPMediaType

The media item contains music.

static var podcast: MPMediaType

The media item contains a podcast.

static var audioBook: MPMediaType

The media item contains an audio book.

static var audioITunesU: MPMediaType

The media item contains an iTunes U audio lesson.

static var anyAudio: MPMediaType

The media item contains an unspecified type of audio content.

static var movie: MPMediaType

The media item contains a movie.

static var tvShow: MPMediaType

The media item contains a TV show.

static var videoPodcast: MPMediaType

The media item contains a video podcast.

static var musicVideo: MPMediaType

The media item contains a music video.

static var videoITunesU: MPMediaType

The media item contains an iTunes U video.

static var homeVideo: MPMediaType

The media item contains a home video.

static var anyVideo: MPMediaType

The media item contains an unspecified type of video content.

static var any: MPMediaType

The media item contains an unspecified type of media content.

Initializers

init(rawValue: UInt)

Creates a new instance with the specified raw value.

Relationships

Conforms To

See Also

Media Item Types and Keys

General Media Item Property Keys

System defined properties used to obtain the metadata for a media item.

User-Defined Property Keys

Contains properties used to obtain user-defined metadata for a media item.