OOMediaFile

@interface OOMediaFile : NSObject

Represents a media resource associated with a video ad.

  • The delivery method of the media file.

    Declaration

    Objective-C

    - (OODeliveryMethod)deliveryMethod;

    Swift

    func deliveryMethod() -> OODeliveryMethod
  • The media file’s width.

    Declaration

    Objective-C

    - (NSInteger)width;

    Swift

    func width() -> Int
  • The media file’s height.

    Declaration

    Objective-C

    - (NSInteger)height;

    Swift

    func height() -> Int
  • The media file’s bitrate.

    Declaration

    Objective-C

    - (NSInteger)bitRate;

    Swift

    func bitRate() -> Int
  • The MIME-type of the media file.

    Declaration

    Objective-C

    - (NSString *)mimeType;

    Swift

    func mimeType() -> String!
  • The URL from which the media file should be retrieved.

    Declaration

    Objective-C

    - (NSURL *)URL;

    Swift

    func url() -> URL!
  • String value indicating the the API needed to execute the file.

    Declaration

    Objective-C

    - (NSString *)APIFramework;

    Swift

    func apiFramework() -> String!