iOS Developer Library

Developer

MediaPlayer Framework Reference MPMediaQuerySection Class Reference

Options
Deployment Target:

On This Page
Language:

MPMediaQuerySection

A media query section represents a range of media items or media item collections from within an iPod library media query. You can use sections when displaying a query’s items or collections in your app’s user interface. More...

Inheritance


Import Statement


import MediaPlayer @import MediaPlayer;

Availability


Available in iOS 4.2 and later.
  • title title Property

    The localized title of the media query section.

    Declaration

    Swift

    var title: String! { get }

    Objective-C

    @property(nonatomic, copy, readonly) NSString *title

    Import Statement

    import MediaPlayer

    Availability

    Available in iOS 4.2 and later.

  • range range Property

    The range in the media query's items or collections array that is represented by the media query section.

    Declaration

    Swift

    var range: NSRange { get }

    Objective-C

    @property(nonatomic, assign, readonly) NSRange range

    Import Statement

    import MediaPlayer

    Availability

    Available in iOS 4.2 and later.