Contents

MPMediaItemPropertyGenrePersistentID

The persistent identifier for a genre.

Declaration

let MPMediaItemPropertyGenrePersistentID: String

Discussion

This value is an NSNumber object that contains a uint64_t (unsigned long long). The value of the MPMediaItemPropertyGenrePersistentID identifier persists across application launches and across syncs that do not change the sync status of the media item. The value is not guaranteed to persist across a sync/unsync/sync cycle.

Can be used to build a media property predicate as described in MPMediaPropertyPredicate.

See Also

Filterable property keys