INPulseLiveAdBreak
Objective-C
@protocol INPulseLiveAdBreak <NSObject>
                Swift
protocol INPulseLiveAdBreak : NSObjectProtocol
                This is the interface for ad breaks owned by INPulseLiveSession
An ad break is a collection of ads that are to be displayed in sequence. INPulseLiveAdBreak are part of the “live” API’s, which are better suited for live/streaming video setups. For live breaks, the
 SDK will not notify the integration when to trigger ads, that responsibility is on the integration.
This @protocol is used to request information regarding the ad break.
- 
                  
                  
The number of playable ads remaining in this ad break.
Declaration
Objective-C
- (NSInteger)playableAdsRemaining;Swift
func playableAdsRemaining() -> IntReturn Value
The number of ads remaining.
 - 
                  
                  
The total number of playable ads in this ad break.
Declaration
Objective-C
- (NSInteger)playableAdsTotal;Swift
func playableAdsTotal() -> IntReturn Value
The total number of playable ads.
 - 
                  
                  
Returns the ad break type.
Return Value
OOAdBreakTypeThe type of ad break (preroll/midroll/postroll). - 
                  
                  
The playable linear ads in this ad break.
Will receive a list of ad objects when they have been prepared (any third party VAST data has been loaded).
Declaration
Objective-C
- (void)getAllLinearAds:(void (^)(NSArray<id<OOPulseVideoAd>> *))completion;Swift
func allLinearAds() async -> [any OOPulseVideoAd]?