LinearAd_Objc

@objc(THEOplayerLinearAd)
public protocol LinearAd_Objc : Ad_Objc

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.

    Remark

    • Supports integer format.

    Declaration

    Swift

    @objc(duration)
    var duration_Objc: NSNumber? { get }
  • An array of mediafiles, which provides some meta data retrieved from the VAST file.

    Declaration

    Swift

    var mediaFiles: [MediaFile] { get }