A OOContentItem which contains other items, representing a single channel as defined in Backlot. More...
#import "OOChannel.h"

Instance Methods | |
(instancetype) - initWithDictionary:embedCode:api: | |
(instancetype) - initWithDictionary:embedCode:parent:api: | |
(OOReturnState) - updateWithDictionary: | |
(OOVideo *) - firstVideo | |
Get the first OOVideo for this OOChannel. More... | |
(OOVideo *) - lastVideo | |
Get the last OOVideo for this OOChannel. More... | |
(OOVideo *) - nextVideo: | |
(OOVideo *) - previousVideo: | |
(OOVideo *) - videoFromEmbedCode:withCurrentItem: | |
(BOOL) - hasMoreChildren | |
Find out it this OOChannel has more children. More... | |
(BOOL) - fetchMoreChildren: | |
Fetch the additional children if they exist. More... | |
(void) - fetchAndAuthorizeMoreChildren: | |
(NSUInteger) - childrenCount | |
The number of videos this OOChannel has. More... | |
(Float64) - duration | |
The total duration (not including Ads) of this OOChannel. More... | |
![]() | |
(instancetype) - initWithEmbedCode:title:description: | |
Initialize a OOContentItem. More... | |
(NSString *) - getPromoImageURLForWidth:height: | |
Get the promo image URL for this content item that will be at least the specified dimensions. More... | |
(NSArray *) - embedCodesToAuthorize | |
![]() | |
(NSString *) - embedCode | |
The OOPaginatedParentItem's Embed Code. More... | |
(NSString *) - nextChildren | |
Protected Attributes | |
OOOrderedDictionary * videos | |
The OOChannel's videos (keyed by embed code) More... | |
OOChannelSet * parent | |
This OOChannel's parent OOChannelSet if it exists. More... | |
![]() | |
NSString * embedCode | |
The OOContentItem's Embed Code. More... | |
NSString * externalId | |
The OOContentItem's External ID if it exists. More... | |
NSString * title | |
The OOContentItem's Title. More... | |
NSString * itemDescription | |
The OOContentItem's Description. More... | |
NSString * promoImageURL | |
The OOContentItem's Promo Image URL. More... | |
NSString * hostedAtURL | |
The OOContentItem's Hosted At URL. More... | |
OOPlayerAPIClient * api | |
BOOL authorized | |
Whether or not this OOContentItem is authorized. More... | |
BOOL haEnabled | |
OOAuthCode authCode | |
The response code from the authorize call. More... | |
SsaiMetadata * ssaiMetadata | |
NSString * contentType | |
Properties | |
NSString * nextChildren | |
![]() | |
NSDictionary * metadata | |
NSDictionary * moduleData | |
BOOL heartbeatRequired | |
OOFCCTVRating * tvRating | |
NSString * assetPcode | |
The OOContentItem's Promo Image URL. More... | |
NSDictionary * movieAttributes | |
BOOL needsMidStreamCheck | |
int midStreamCheckInterval | |
NSMutableArray * externalAds | |
Additional Inherited Members | |
![]() | |
(OOContentItem *) + contentItemFromDictionary:embedCode:api: | |
(OOContentItem *) + contentItemFromDictionary:embedCodes:api: | |
Detailed Description
A OOContentItem which contains other items, representing a single channel as defined in Backlot.
OOChannel.h in OoyalaSDK
Method Documentation
- (NSUInteger) childrenCount |
The number of videos this OOChannel has.
Same as [videos count].
- Returns
- an NSUInteger with the number of videos
Reimplemented from <OOPaginatedParentItem>.
- (Float64) duration |
The total duration (not including Ads) of this OOChannel.
- Returns
- an Float64 with the total duration in seconds
Reimplemented from OOContentItem.
Reimplemented in OODynamicChannel.
- (void) fetchAndAuthorizeMoreChildren: | (OOFetchMoreChildrenCallback) | callback |
- (BOOL) fetchMoreChildren: | (OOFetchMoreChildrenCallback) | callback |
Fetch the additional children if they exist.
This will happen in the background and callback will be called when the fetch is complete.
- Parameters
-
[in] callback the callback to execute when the children are fetched
- Returns
- YES if more children exist, NO if they don't or they are already in the process of being fetched
Reimplemented from <OOPaginatedParentItem>.
- (OOVideo *) firstVideo |
Get the first OOVideo for this OOChannel.
Reimplemented from OOContentItem.
- (BOOL) hasMoreChildren |
Find out it this OOChannel has more children.
- Returns
- YES if it does, NO if it doesn't
Reimplemented from <OOPaginatedParentItem>.
- (instancetype) initWithDictionary: | (NSDictionary *) | data | |
embedCode: | (NSString *) | theEmbedCode | |
api: | (OOPlayerAPIClient *) | theAPI | |
Reimplemented from OOContentItem.
- (instancetype) initWithDictionary: | (NSDictionary *) | data | |
embedCode: | (NSString *) | theEmbedCode | |
parent: | (OOChannelSet *) | theParent | |
api: | (OOPlayerAPIClient *) | theAPI | |
- (OOVideo *) lastVideo |
- (OOReturnState) updateWithDictionary: | (NSDictionary *) | data |
Reimplemented from OOContentItem.
Reimplemented in OODynamicChannel.
Reimplemented from OOContentItem.
Member Data Documentation
|
readnonatomicstrongprotected |
This OOChannel's parent OOChannelSet if it exists.
|
readnonatomicstrongprotected |
The OOChannel's videos (keyed by embed code)
Property Documentation
|
readnonatomicstrong |
The documentation for this class was generated from the following file: