persistentIDProperty
TypeScriptstatic persistentIDProperty(groupingType: MPMediaGrouping): stringSwift declarationclass func persistentIDProperty(forGroupingType groupingType: MPMediaGrouping) -> Stringclass · iOS 3.0+ · SDK 27.1
class MPMediaItemstatic persistentIDProperty(groupingType: MPMediaGrouping): stringSwift declarationclass func persistentIDProperty(forGroupingType groupingType: MPMediaGrouping) -> Stringstatic titleProperty(groupingType: MPMediaGrouping): stringSwift declarationclass func titleProperty(forGroupingType groupingType: MPMediaGrouping) -> Stringstatic init(): MPMediaItemSwift declarationinit()get albumArtist(): (string) | nullSwift declarationvar albumArtist: String? { get }get albumArtistPersistentID(): numberSwift declarationvar albumArtistPersistentID: MPMediaEntityPersistentID { get }get albumPersistentID(): numberSwift declarationvar albumPersistentID: MPMediaEntityPersistentID { get }get albumTitle(): (string) | nullSwift declarationvar albumTitle: String? { get }get albumTrackCount(): numberSwift declarationvar albumTrackCount: Int { get }get albumTrackNumber(): numberSwift declarationvar albumTrackNumber: Int { get }get artist(): (string) | nullSwift declarationvar artist: String? { get }get artistPersistentID(): numberSwift declarationvar artistPersistentID: MPMediaEntityPersistentID { get }get artwork(): (MPMediaItemArtwork) | nullSwift declarationvar artwork: MPMediaItemArtwork? { get }get assetURL(): (string) | nullSwift declarationvar assetURL: URL? { get }get beatsPerMinute(): numberSwift declarationvar beatsPerMinute: Int { get }get bookmarkTime(): numberSwift declarationvar bookmarkTime: TimeInterval { get }get isCloudItem(): booleanSwift declarationvar isCloudItem: Bool { get }get comments(): (string) | nullSwift declarationvar comments: String? { get }get isCompilation(): booleanSwift declarationvar isCompilation: Bool { get }get composer(): (string) | nullSwift declarationvar composer: String? { get }get composerPersistentID(): numberSwift declarationvar composerPersistentID: MPMediaEntityPersistentID { get }get dateAdded(): globalThis.DateSwift declarationvar dateAdded: Date { get }get discCount(): numberSwift declarationvar discCount: Int { get }get discNumber(): numberSwift declarationvar discNumber: Int { get }get isExplicitItem(): booleanSwift declarationvar isExplicitItem: Bool { get }get genre(): (string) | nullSwift declarationvar genre: String? { get }get genrePersistentID(): numberSwift declarationvar genrePersistentID: MPMediaEntityPersistentID { get }get lastPlayedDate(): (globalThis.Date) | nullSwift declarationvar lastPlayedDate: Date? { get }get lyrics(): (string) | nullSwift declarationvar lyrics: String? { get }get mediaType(): MPMediaTypeSwift declarationvar mediaType: MPMediaType { get }get persistentID(): numberSwift declarationvar persistentID: MPMediaEntityPersistentID { get }get playCount(): numberSwift declarationvar playCount: Int { get }get playbackDuration(): numberSwift declarationvar playbackDuration: TimeInterval { get }get playbackStoreID(): stringSwift declarationvar playbackStoreID: String { get }get podcastPersistentID(): numberSwift declarationvar podcastPersistentID: MPMediaEntityPersistentID { get }get podcastTitle(): (string) | nullSwift declarationvar podcastTitle: String? { get }get isPreorder(): booleanSwift declarationvar isPreorder: Bool { get }get hasProtectedAsset(): booleanSwift declarationvar hasProtectedAsset: Bool { get }get rating(): numberSwift declarationvar rating: Int { get }get releaseDate(): (globalThis.Date) | nullSwift declarationvar releaseDate: Date? { get }get skipCount(): numberSwift declarationvar skipCount: Int { get }get title(): (string) | nullSwift declarationvar title: String? { get }get userGrouping(): (string) | nullSwift declarationvar userGrouping: String? { get }No declarations were skipped in this snapshot.