A class that manages a list of ad spots for a content.
More...
#import "OOAdSpotManager.h"
A class that manages a list of ad spots for a content.
OOAdSpotManager.
OOAdSpotManager.h in OoyalaSDK
- (OOAdSpot *) adBeforeTime: |
|
(Float64) |
time |
|
get the adspot before a certain time,
- Parameters
-
- Returns
- the unplayed adspot before the specified time which, null if no such adspot
Returns YES if ad was already played.
- Returns
- YES or NO
Returns YES if all ads were already played.
- Returns
- YES or NO
get the adspot list size
- Returns
- size
Get first ad in ad array.
- Returns
- OOAdSpot
- (NSSet *) getCuePointsAtSeconds |
|
|
|
- Returns
- non-nil (possibly empty) NSNumber (int in seconds) set of cue point times for ads.
Insert an adSpot.
- Parameters
-
- (void) insertAds: |
|
(NSArray *) |
adSpots |
|
Insert an adSpot.
- Parameters
-
adSpots | the adSpot to insert |
Get last ad in ad array.
- Returns
- OOAdSpot
mark an adspot as played
- Parameters
-
ad | the adspot to be marked |
Get next ad to be played.
- Returns
- OOAdSpot
Mark all adspots as unplayed.
The documentation for this class was generated from the following file: