A OOContentItem which contains channels, representing a single channel set as defined in Backlot. More...

#import "OOChannelSet.h"

+ Inheritance diagram for OOChannelSet:

Instance Methods

(instancetype) - initWithDictionary:embedCode:api:
 
(OOReturnState) - updateWithDictionary:
 
(OOVideo *) - firstVideo
Get the first OOVideo for this OOChannelSet. More...
 
(OOVideo *) - nextVideo:
 
(OOVideo *) - previousVideo:
 
(OOVideo *) - videoFromEmbedCode:withCurrentItem:
 
(BOOL) - hasMoreChildren
Find out it this OOChannelSet has more children. More...
 
(BOOL) - fetchMoreChildren:
Fetch the additional children if they exist. More...
 
(void) - fetchAndAuthorizeMoreChildren:
 
(NSUInteger) - childrenCount
The number of channels this OOChannelSet has. More...
 
(Float64) - duration
The total duration (not including Ads) of this OOChannelSet. More...
 
- Instance Methods inherited from OOContentItem
(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
 
- Instance Methods inherited from <OOPaginatedParentItem>
(NSString *) - embedCode
The OOPaginatedParentItem's Embed Code. More...
 
(NSString *) - nextChildren
 

Protected Attributes

OOOrderedDictionarychannels
The OOChannelSet's channels (keyed by embed code) More...
 
- Protected Attributes inherited from OOContentItem
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
 
- Properties inherited from OOContentItem
NSDictionary * metadata
 
NSDictionary * moduleData
 
BOOL heartbeatRequired
 
OOFCCTVRatingtvRating
 
NSString * assetPcode
The OOContentItem's Promo Image URL. More...
 
NSDictionary * movieAttributes
 
BOOL needsMidStreamCheck
 
int midStreamCheckInterval
 
NSMutableArray * externalAds
 

Additional Inherited Members

- Class Methods inherited from OOContentItem
(OOContentItem *) + contentItemFromDictionary:embedCode:api:
 
(OOContentItem *) + contentItemFromDictionary:embedCodes:api:
 

Detailed Description

A OOContentItem which contains channels, representing a single channel set as defined in Backlot.

OOChannelSet.

OOChannelSet.h in OoyalaSDK

Method Documentation

- (NSUInteger) childrenCount

The number of channels this OOChannelSet has.

Same as [channels count].

Returns
an NSUInteger with the number of channels

Reimplemented from <OOPaginatedParentItem>.

- (Float64) duration

The total duration (not including Ads) of this OOChannelSet.

This only accounts for currently loaded channels.

Returns
an Float64 with the total duration in seconds

Reimplemented from OOContentItem.

- (void) fetchAndAuthorizeMoreChildren: (OOFetchMoreChildrenCallback)  callback
- (BOOL) fetchMoreChildren: (OOFetchMoreChildrenCallback)  callback

Fetch the additional children if they exist.

Parameters
[in]callbackthe 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 OOChannelSet.

Returns
the first OOVideo this OOChannelSet represents

Reimplemented from OOContentItem.

- (BOOL) hasMoreChildren

Find out it this OOChannelSet 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.

- (OOVideo *) nextVideo: (OOChannel *)  currentItem
- (OOVideo *) previousVideo: (OOChannel *)  currentItem
- (OOReturnState) updateWithDictionary: (NSDictionary *)  data

Reimplemented from OOContentItem.

- (OOVideo *) videoFromEmbedCode: (NSString *)  embedCode
withCurrentItem: (OOVideo *)  currentItem 

Reimplemented from OOContentItem.

Member Data Documentation

- (OOOrderedDictionary *) channels
readnonatomicassignprotected

The OOChannelSet's channels (keyed by embed code)

Property Documentation

- (NSString*) nextChildren
readnonatomicassign

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