ATVMediaItem

@interface ATVMediaItem : NSObject

An object for setting video metadata.

  • Video Url

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSURL *mediaUrl;

    Swift

    var mediaUrl: URL! { get set }
  • Video title, will be displayed in Info

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *videoTitle;

    Swift

    var videoTitle: String! { get set }
  • Video description, will be displayed in Info

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *videoDescription;

    Swift

    var videoDescription: String! { get set }
  • Video thumbnail in UIImage, will be displayed in Info

    Declaration

    Objective-C

    @property (strong,nonatomic) UIImage *videoThumbnail

    Swift

    var videoThumbnail: NSImage! { get set }
  • Video thumbnail URL, will be displayed in Info

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *videoThumbnailUrl;

    Swift

    var videoThumbnailUrl: String! { get set }
  • Factory method that creates ATVMediaItem object with url . - parameter: url URL of the video.

    Declaration

    Objective-C

    + (ATVMediaItem *)itemWithUrl:(NSURL *)url;

    Swift

    /*not inherited*/ init!(url: URL!)

    Parameters

    url

    URL of the video.