Promo

public struct Promo : Codable

Represents Content’s promotional video ad metadata.

  • The promo unique identifier.

    Declaration

    Swift

    public var contentId: String
  • The catalog type of the promo

    Declaration

    Swift

    public var catalogType: String
  • The content time offset at which the current promo was scheduled (in seconds).

    Declaration

    Swift

    public var start: TimeInterval
  • end

    The content time offset at which the current promo will be finshed (in seconds).

    Declaration

    Swift

    public var end: TimeInterval
  • The duration of the promo (in seconds).

    Declaration

    Swift

    public var duration: TimeInterval
  • Indicates whether the promo can be skipped by the user.

    Declaration

    Swift

    public var skippable: Bool?
  • The skip offset of the promo (in seconds), or TimeInterval.nan if not available.

    Declaration

    Swift

    public var skipOffset: TimeInterval?