Mac Developer Library

Developer

ITLibMediaItemVideoInfo Class Reference

Options
Deployment Target:

On This Page

ITLibMediaItemVideoInfo

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

The ITLibMediaItemVideoInfo class encapsulates the video information of a video media item. Video media items include TV shows, movies, video podcasts, etc.

  • The width of the video in pixels. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, assign) NSUInteger videoWidth;

  • The height of the video in pixels. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, assign) NSUInteger videoHeight;

  • series series Property

    If the media item is an episode in a television series, this property contains the name of the corresponding TV series. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, copy) NSString * series;

    Discussion

    If the media item is not an episode in a television series, this property is nil.

  • If the media item is an episode in a television series, this property contains the sorting name of the corresponding TV series. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, copy) NSString * sortSeries;

    Discussion

    If the media item is not an episode in a television series or if no sorting name is specified for the series, this property is nil.

  • season season Property

    If the media item is an episode of a TV series, this property contains the corresponding TV season. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, assign) NSUInteger season;

    Discussion

    If the media item is not an episode of a TV series, this property is 0.

  • hd hd Property

    Whether the video is high definition. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, assign, getter=isHD) BOOL hd;

  • episode episode Property

    If the media item is an episode of a television series, this property contains the name of the episode. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, copy) NSString * episode;

    Discussion

    If the media item is not an episode of a television series, this property is nil.

  • If the media item is an episode of a television series, this property contains the order of episode. (read-only)

    Declaration

    Objective-C

    @property (readonly, nonatomic, assign) NSInteger episodeOrder;

    Discussion

    If the media item is not an episode of a television series, this property is 0.