9 #import "OOPlayableItem.h" 10 #import "OOContentItem.h" 13 @class OOPlayerAPIClient;
31 @property (readonly, nonatomic) NSMutableArray *
ads;
34 @property (readonly, nonatomic) Float64
duration;
35 @property (readonly, nonatomic) BOOL
live;
51 - (instancetype)initWithUnbundledStreams:(NSArray*)theStreams ads:(NSArray*)theAds;
60 - (instancetype)initWithDictionary:(NSDictionary *)data
61 embedCode:(NSString *)theEmbedCode
62 api:(OOPlayerAPIClient *)theAPI;
72 - (instancetype)initWithDictionary:(NSDictionary *)data
73 embedCode:(NSString *)theEmbedCode
75 api:(OOPlayerAPIClient *)theAPI;
82 - (OOReturnState)updateWithDictionary:(NSDictionary *)data;
89 - (BOOL)updateHighAvailabilityWithDictionary:(NSDictionary *)data;
115 - (
OOVideo *)videoFromEmbedCode:(NSString *)embedCode withCurrentItem:(
OOVideo *)currentItem;
151 -(void)filterAds:(NSPredicate*)predicate;
Float64 duration
The OOVideo's Total Duration (Length)
Definition: OOVideo.h:27
OOVideo * previousVideo()
Get the previous OOVideo for this OOVideo from the parent.
Base class for concrete ad spot implementations.
Definition: OOManagedAdSpot.h:19
BOOL hasAds()
Check if the OOVideo has ads.
Float64 duration()
The total duration (not including Ads) of this OOContentItem.
Definition: OOUnbundledVideo.h:16
NSMutableArray * ads
Definition: OOVideo.h:24
OOVideo * nextVideo()
Get the next OOVideo for this OOVideo from the parent.
BOOL hasClosedCaptions()
Check if the OOVideo has Closed Captions.
An object which represents all closed captions information for the asset.
Definition: OOClosedCaptions.h:10
A single playable content item, such as video.
Definition: OOContentItem.h:20
int retryCount
Keeps track of the number of retries already done for a given error.
Definition: OOVideo.h:37
A OOContentItem which contains other items, representing a single channel as defined in Backlot...
Definition: OOChannel.h:20
OOClosedCaptions * closedCaptions
Definition: OOVideo.h:25
OOChannel * parent
This OOVideo's parent OOChannel if it exists (could be a OODynamicChannel)
Definition: OOVideo.h:26
NSString * defaultLanguageCode
The OOContentItem's Default language Code (eng, deu etc.)
Definition: OOVideo.h:38
BOOL live
Whether or not the video is live.
Definition: OOVideo.h:28
NSURL * fairplayKeyURL
If this is an offline Fairplay asset, this is where the Fairplay key is located.
Definition: OOVideo.h:36
OOVideo * firstVideo()
Get the first OOVideo for this OOVideo, which is this OOVideo.
this class implements video stream object
Definition: OOVideo.h:22