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. More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


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

    Declaration

    Objective-C

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

    Import Statement

  • Reserved for future use.

    Declaration

    Objective-C

    - (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.

    Import Statement

  • Reserved for future use.

    Declaration

    Objective-C

    - (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.

    Import Statement