OOMediaFile
Objective-C
@interface OOMediaFile : NSObject
Swift
class 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 in pixels.
Declaration
Objective-C
- (NSInteger)width;
Swift
func width() -> Int
-
The media file’s height in pixels.
Declaration
Objective-C
- (NSInteger)height;
Swift
func height() -> Int
-
The media file’s bitrate in kbps.
Declaration
Objective-C
- (NSInteger)bitRate;
Swift
func bitRate() -> Int
-
The codec format of the media file.
Declaration
Objective-C
- (NSString *)codec;
Swift
func codec() -> String!
-
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!