OOPulseAdBreak Protocol Reference

Conforms to NSObject
Declared in OOPulseAdBreak.h

Overview

This is the protocol for an ad break owned by an OOPulseSession.

An ad break is a collection of ads that are to be displayed in sequence.

This protocol is used to request information regarding the ad break, or to stop the ad break forcefully.

– playableAdsRemaining required method

The number of playable ads remaining in this ad break.

- (NSInteger)playableAdsRemaining

Declared In

OOPulseAdBreak.h

– playableAdsTotal required method

The number of playable ads in this ad break.

- (NSInteger)playableAdsTotal

Declared In

OOPulseAdBreak.h

– stopAdBreak required method

Forcefully stop the ad break.

- (void)stopAdBreak

Discussion

This may be called at any time while the ad break is active.

After the ad break is stopped the session will continue with [OOPulseSessionDelegate startContentPlayback], or [OOPulseSessionDelegate sessionEnded] if the content has already finished.

Declared In

OOPulseAdBreak.h