Instance Method

addFilterPredicate:

Adds a media property predicate to a query.

Declaration

- (void)addFilterPredicate:(MPMediaPredicate *)predicate;

Parameters

predicate

The media predicate to add to the set of predicates for the query.

See Also

Configuring Media Queries

filterPredicates

The media property predicates of the media query.

- removeFilterPredicate:

Removes a filter predicate from a query.

groupingType

The grouping for collections retrieved with the media query.

itemSections

An array representing the section grouping of the query’s specified media items.

collectionSections

An array representing the section grouping of the query’s specified media item collections.

MPMediaGrouping

Keys used to configure a media query.