8 #import "CoreMedia/CMTime.h" 9 #import <Foundation/Foundation.h> 46 - (void)insertAds:(NSArray *)adSpots;
56 - (
OOAdSpot *)adBeforeTime:(Float64)time;
A class that manages a list of ad spots for a content.
Definition: OOAdSpotManager.h:15
BOOL allAdsPlayed()
Returns YES if all ads were already played.
void resetAds()
Mark all adspots as unplayed.
void clear()
Clear all adspots.
OOAdSpot * lastAd()
Get last ad in ad array.
A Generic class to hold AdSpot time info.
Definition: OOAdSpot.h:13
NSSet * getCuePointsAtSeconds()
OOAdSpot * nextAd()
Get next ad to be played.
OOAdSpot * firstAd()
Get first ad in ad array.
NSUInteger count()
get the adspot list size