A set of predicates that define a filter used in a media query.
- iOS 3.0+
- Media Player
Use one or more
MPMedia objects to define the filter in a media query to retrieve a subset of media items from the Music library. A predicate in this context is a statement of a logical condition that you want to test each media item against. Those items that satisfy the condition are retrieved in the query result.
You define Music library queries, and retrieve query results, using the
MPMedia class. The media items and media item collections that you retrieve with a query are described in