Type Alias

MPMediaEntityPersistentID

Defines the type for storing a persistent identifier to a particular entity.

Declaration

typedef uint64_t MPMediaEntityPersistentID;

Discussion

The value 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.

See Also

Working with Media Properties

+ canFilterByProperty:

Indicates if a media property key can be used to construct a media property predicate.

- enumerateValuesForProperties:usingBlock:

Executes a provided block with the fetched values for the given item properties.

persistentID

The persistent identifier for a media entity.

- objectForKeyedSubscript:

Returns the object specified by the key.

- valueForProperty:

Retrieves the value for a specified media property key.