MediaFile

@objc(YMAMediaFile)
public protocol MediaFile

Describes a media file for an instream ad.

  1. adHeight
  2. adWidth
  3. url

adHeight

Media file height.

Declaration

Swift

var adHeight: Int { get }

adWidth

Media file width.

Declaration

Swift

var adWidth: Int { get }

url

Describes the media file url.

Declaration

Swift

var url: String { get }