Type Method

genresQuery

Creates a media query that matches all media items and that groups and sorts collections by genre name.

Declaration

+ (MPMediaQuery *)genresQuery;

Return Value

A media query that matches all media items and that has a grouping type of MPMediaGroupingGenre.

See Also

Creating Media Queries

+ albumsQuery

Creates a media query that matches music items and that groups and sorts collections by album name.

+ artistsQuery

Creates a media query that matches music items and that groups and sorts collections by artist name.

+ songsQuery

Creates a media query that matches music items and that groups and sorts collections by song name.

+ playlistsQuery

Creates a media query that matches the entire library and that groups and sorts collections by playlist name.

+ podcastsQuery

Creates a media query that matches podcast items and that groups and sorts collections by podcast name.

+ audiobooksQuery

Creates a media query that matches audio book items and that groups and sorts collections by audio book name.

+ compilationsQuery

Creates a media query that matches compilation items and that groups and sorts collections by album name.

+ composersQuery

Creates a media query that matches all media items and that groups and sorts collections by composer name.

- init

Initializes a generic media query.

- initWithFilterPredicates:

Initializes a media query with a set of media property predicates.