The URL pointing to the media item.
- iOS 8.0+
- Mac Catalyst 13.0+
A URL pointing to the media item, from which an
AVAsset object (or other URL-based AVFoundation object) can be created, with any options as desired.
Media Item Properties
The primary performing artist for an album as a whole.
The title of an album, such as “Live On Mars”, as opposed to the title of an individual song on the album, such as “Crater Dance (radio edit)”.
The number of tracks in the album that contains the media item.
The track number of the media item, for a media item that is part of an album.
The performing artist(s) for a media item—which may vary from the primary artist for the album that a media item belongs to.
The artwork image for the media item.
The number of musical beats per minute for the media item.
The user’s place in the media item the most recent time it was played.
A Boolean value indicating whether the media item is an iCloud Music Library item.
Textual information about the media item.
A Boolean value indicating whether the media item is part of a compilation.
The musical composer for the media item.
The date the item was added to the library.
The number of discs in the album that contains the media item.
The disc number of the media item, for a media item that is part of a multi-disc album.
A Boolean value that indicates whether the item has explicit (adult) lyrics or language.
The musical or film genre of the media item.
The lyrics for the media item.
The number of times the user has played the media item.
The title of a podcast, such as “This Martian Drudgery”, as opposed to the title of an individual episode of a podcast such as “Episode 12: Another Cold Day At The Pole”.
A Boolean indicating whether the media item has a protected asset.
The user-specified rating of the object in the range [0...5], where a value of 5 indicates the most favorable rating.
The date on which the media item was first publicly released.
The number of times the user has skipped playing the item.
The title (or name) of the media item.