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
var albumTitle: String?
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)”.
var artist: String?
The performing artist(s) for a media item—which may vary from the primary artist for the album that a media item belongs to.
var discNumber: Int
The disc number of the media item, for a media item that is part of a multi-disc album.
var podcastTitle: String?
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”.
var rating: Int
The user-specified rating of the object in the range [0...5], where a value of 5 indicates the most favorable rating.