MediaFile
@objc(YMAMediaFile)
public protocol MediaFile
Describes a media file for an instream ad.
-
Media file height.
Declaration
Swift
var adHeight: Int { get }
-
Media file width.
Declaration
Swift
var adWidth: Int { get }
-
Describes the media file url.
Declaration
Swift
var url: String { get }
-
Media file type.
Declaration
Swift
var mediaType: String { get }
-
Bitrate of encoded video in Kbps.
Declaration
Swift
var bitrate: Int { get }
-
Media file api framework.
Declaration
Swift
var apiFramework: String? { get }