OOAdSpot Class Reference

A Generic class to hold AdSpot time info. More...

#import "OOAdSpot.h"

+ Inheritance diagram for OOAdSpot:

Instance Methods

(instancetype) - initWithTime:
 Initialize an ad spot with time. More...
 
(NSComparisonResult) - compare:
 compare two ad spots based on their time * More...
 

Properties

NSNumber * time
 time to play the ad in second More...
 
int priority
 the priority to distinguish ad spots of same time, adspot having a smaller priority will be played first More...
 

Detailed Description

A Generic class to hold AdSpot time info.

OOAdSpot.

OOAdSpot.h in OoyalaSDK

Method Documentation

- (NSComparisonResult) compare: (OOAdSpot *)  other

compare two ad spots based on their time *

Parameters
[in]otherthe other object to compare
Returns
compare results as NSComparisonResult
- (instancetype) initWithTime: (NSNumber *)  time

Initialize an ad spot with time.

Parameters
[in]tthe ad spot time
Returns
initialized ad spot

Property Documentation

- (int) priority
readwriteatomic

the priority to distinguish ad spots of same time, adspot having a smaller priority will be played first

- (NSNumber*) time
readwriteatomic

time to play the ad in second


The documentation for this class was generated from the following file: