AdProgressChangedData
public struct AdProgressChangedData : Equatable
data payload sent with DorisAdsEvent.adProgressChanged(...) event
-
current ad time
Declaration
Swift
public let time: TimeInterval -
ad duration within ad break
Declaration
Swift
public let adDuration: TimeInterval -
ad position within ad break
Declaration
Swift
public let adPosition: Int -
total amount of ads insed ad break
Declaration
Swift
public let totalAds: Int -
total ad break duration
Declaration
Swift
public let adBreakDuration: TimeInterval -
time elapsed within the whole ad break (absolute, NOT relative to the current ad)
Declaration
Swift
public let adBreakTime: TimeInterval -
ad break skip offset, nil if ad is not skippable
Declaration
Swift
public let skipOffset: TimeInterval?