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.
-
Configuration for the advertising UI when Bitmovin Player UI is used.
Declaration
Objective-C
@property (nonatomic, nullable) BMPLinearAdUiConfig *uiConfig;
Swift
var uiConfig: BMPLinearAdUiConfig? { get set }
Return Value
Configuration for advertising UI when using Bitmovin Player UI.