BMPAdConfig

Objective-C

@protocol BMPAdConfig <_BMPJsonEncodable>

Swift

protocol AdConfig : _JsonEncodable

Contains the base config options for an ad.

  • Specifies how many seconds of the main video content should be replaced by ad break(s) or NaN if it doesn’t apply.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval replaceContentDuration;

    Swift

    var replaceContentDuration: TimeInterval { get }

    Return Value

    How many seconds of the main video content should be replaced by ad break(s) or NaN if it doesn’t apply.