BMPLinearAd

Objective-C

@protocol BMPLinearAd <BMPAd>

Swift

protocol LinearAd : Ad

Defines a linear ad which requires the playback of the content to stop

  • The duration of the ad.

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval duration;

    Swift

    var duration: TimeInterval { get set }

    Return Value

    The duration of the ad.

  • Time in seconds, after which the ad is skippable. The ad is not skippable if this property is to NaN.

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval skippableAfter;

    Swift

    var skippableAfter: TimeInterval { get set }

    Return Value

    Time in seconds, after which the ad is skippable. The ad is not skippable if this property is set to NaN.