LinearAd

public protocol LinearAd : Ad

Represents a linear ad in the VAST specification. It extends the properties of the Ad object.

  • The duration of the LinearAd, as provided by the VAST file, in seconds.

    Declaration

    Swift

    var duration: Int? { get }
  • An array of mediafiles, which provides some meta data retrieved from the VAST file.

    Declaration

    Swift

    var mediaFiles: [MediaFile] { get }