Ad

public protocol Ad

Represents an Ad

  • The identifier of the ad

    Declaration

    Swift

    var adId: String { get }
  • The sequence of the ad within the ad break

    Declaration

    Swift

    var sequence: Int { get }
  • The duration of the ad

    Declaration

    Swift

    var duration: TimeInterval { get }
  • The title of the ad

    Declaration

    Swift

    var title: String { get }
  • The ad if skippable

    Declaration

    Swift

    var isSkippable: Bool { get }
  • The assocaited ad break with this ad

    Declaration

    Swift

    var adBreak: AdBreak? { get set }
  • The vast properties

    Declaration

    Swift

    var vastProperties: VASTProperties { get }