Class

ITLibPlaylist

The ITLibPlaylist class describes a playlist in the iTunes library. A playlist is a collection of media items (tracks). Playlists may be created and organized manually by the user or automatically generated by iTunes. Playlists are modeled as media entities. Each contains a unique identifier and a set of properties. Playlists may form a hierarchical structure. In those cases, the parentID property of ITLibPlaylist returns the persistent ID of the parent playlist.

Declaration

class ITLibPlaylist : ITLibMediaEntity

Topics

Instance Properties

var distinguishedKind: ITLibDistinguishedPlaylistKind

The distinguished kind of this playlist.

var isAllItemsPlaylist: Bool

This property is reserved for future use.

Deprecated
var isMaster: Bool

Whether this playlist represents the entire iTunes library.

var isVisible: Bool

Whether this playlist is visible to the user in iTunes.

var items: [ITLibMediaItem]

The media items (tracks) in this playlist.

var name: String

The name or title of this playlist.

var parentID: NSNumber?

The unique persistent identifier of this playlist’s parent playlist.

Relationships

Inherits From

Conforms To