OOAdPodInfo.h
1 
7 #import <Foundation/Foundation.h>
8 
9 @interface OOAdPodInfo : NSObject
10 
11 @property (nonatomic, readonly) NSString *title;
12 @property (nonatomic, readonly) NSString *clickUrl;
13 @property (nonatomic, readonly) NSUInteger count;
14 @property (nonatomic, readonly) NSUInteger unplayedCount;
15 @property (nonatomic, readonly) Float64 skipoffset;
16 @property (nonatomic, readonly) NSMutableArray *icons;
17 @property (nonatomic, readonly) BOOL requireAdBar;
18 @property (nonatomic, readonly) BOOL requireControls;
25 - (instancetype)initWithTitle:(NSString *)title
26  clickUrl:(NSString *)clickUrl
27  count:(NSUInteger)adsCount
28  unplayedCount:(NSUInteger)unplayedCount
29  requiredAdBar:(BOOL)adbar
30  requireControls:(BOOL)controls;
31 
32 - (instancetype)initWithTitle:(NSString *)title
33  clickUrl:(NSString *)clickUrl
34  count:(NSUInteger)adsCount
35  unplayedCount:(NSUInteger)unplayedCount
36  skipoffset:(Float64)skipoffset
37  icons:(NSMutableArray *)icons
38  requiredAdBar:(BOOL)adbar
39  requireControls:(BOOL)controls;
40 
41 - (NSDictionary *)toDictionary;
42 
43 @end
NSString * title
Definition: OOAdPodInfo.h:11
Float64 skipoffset
the unplayed ads count
Definition: OOAdPodInfo.h:15
NSUInteger unplayedCount
the total ads count
Definition: OOAdPodInfo.h:14
NSString * clickUrl
the title of the ad, if any
Definition: OOAdPodInfo.h:12
NSUInteger count
the click url, if any
Definition: OOAdPodInfo.h:13
BOOL requireAdBar
the icons of the ad, if any
Definition: OOAdPodInfo.h:17
OOAdPodInfo.
Definition: OOAdPodInfo.h:9
BOOL requireControls
if the ad require an adbar
Definition: OOAdPodInfo.h:18
NSMutableArray * icons
the skipoffset of the ad, if any
Definition: OOAdPodInfo.h:16
NSDictionary * toDictionary()