Instance Method

objectForKeyedSubscript:

Returns the object specified by the key.

Declaration

- (id)objectForKeyedSubscript:(id)key;

Parameters

key

The key associated with the retrieved object.

Return Value

The object that is specified by the key.

Discussion

The method provides read-only support for Objective-C subscripting syntax with MPMediaEntity property constants.

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.

- valueForProperty:

Retrieves the value for a specified media property key.

MPMediaEntityPersistentID

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