OOChannelSet.h
1 
9 #import "OOContentItem.h"
10 #import "OOPaginatedParentItem.h"
11 
12 @class OOOrderedDictionary;
13 @class OOChannel;
14 @class OOOoyalaError;
15 
20 @protected
22 }
23 
24 @property (readonly, nonatomic) NSString *nextChildren;
25 @property (readonly, nonatomic) OOOrderedDictionary *channels;
34 - (instancetype)initWithDictionary:(NSDictionary *)data
35  embedCode:(NSString *)theEmbedCode
36  api:(OOPlayerAPIClient *)theAPI;
37 
43 - (OOReturnState)updateWithDictionary:(NSDictionary *)data;
44 
49 - (OOVideo *)firstVideo;
50 
56 - (OOVideo *)nextVideo:(OOChannel *)currentItem;
57 
63 - (OOVideo *)previousVideo:(OOChannel *)currentItem;
64 
71 - (OOVideo *)videoFromEmbedCode:(NSString *)embedCode withCurrentItem:(OOVideo *)currentItem;
72 
77 - (BOOL)hasMoreChildren;
78 
84 - (BOOL)fetchMoreChildren:(OOFetchMoreChildrenCallback)callback;
85 
90 - (void)fetchAndAuthorizeMoreChildren:(OOFetchMoreChildrenCallback)callback;
91 
96 - (NSUInteger)childrenCount;
97 
102 - (Float64)duration;
103 
104 @end
OOOrderedDictionary.
Definition: OOOrderedDictionary.h:15
OOVideo * firstVideo()
Get the first OOVideo for this OOChannelSet.
A OOContentItem which contains channels, representing a single channel set as defined in Backlot...
Definition: OOChannelSet.h:19
Float64 duration()
The total duration (not including Ads) of this OOChannelSet.
OOOrderedDictionary * channels
The OOChannelSet's channels (keyed by embed code)
Definition: OOChannelSet.h:21
Represents an error in the Ooyala SDK.
Definition: OOOoyalaError.h:56
A single playable content item, such as video.
Definition: OOContentItem.h:20
NSUInteger childrenCount()
The number of channels this OOChannelSet has.
A OOContentItem which contains other items, representing a single channel as defined in Backlot...
Definition: OOChannel.h:20
BOOL hasMoreChildren()
Find out it this OOChannelSet has more children.
Definition: OOPaginatedParentItem.h:7
this class implements video stream object
Definition: OOVideo.h:22