Mac Developer Library

Developer

ITLibMediaEntity Class Reference

Options
Deployment Target:

On This Page

ITLibMediaEntity

The ITLibMediaEntity class describes a media entity which can be a media item such as an audio track (see ITLibMediaItem Class Reference) or a playlist (see ITLibPlaylist Class Reference). Each media entity has a persistent unique ID assigned by iTunes and a set of properties.

The ITLibMediaEntity class serves as the abstract superclass for ITLibMediaItem and ITLibPlaylist instances.

  • The unique identifier of this media entity. (read-only)

    Declaration

    @property (readonly, nonatomic, retain) NSNumber * persistentID;

  • Reserved for future use.

    Declaration

    - (void) enumerateValuesForProperties: (NSSet *) properties usingBlock: (void (^)(NSString *property, id value, BOOL *stop)) block;

    Discussion

    In future versions of the framework, this method will make it possible to retrieve a batch of properties of this media entity at once.

  • Reserved for future use.

    Declaration

    - (id) valueForProperty:(NSString *)property;

    Discussion

    In future versions of the framework, this method will allow the retrieval of media entity properties in a generic fashion.