OOOfflineVideo Class Reference

#import <OOOfflineVideo.h>

+ Inheritance diagram for OOOfflineVideo:

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithVideoLocation:
 Init an OOOfflineVideo with the location of a downloaded asset. More...
 
(instancetype) - initWithVideoLocation:fairplayKeyLocation:
 Init an OOOfflineVideo with the location of a downloaded asset. More...
 
- Instance Methods inherited from OOUnbundledVideo
(id) - initWithUnbundledStreams:
 Initialize a OOUnbundledVideo using the specified data (subclasses should override this) More...
 
(id) - initWithUnbundledStreams:ads:
 Initialize a OOUnbundledVideo using the specified data (subclasses should override this) More...
 

Class Methods

(OOOfflineVideo *) + videoWithVideoLocation:
 Class method that uses initWithFileLocation: initializer. More...
 
(OOOfflineVideo *) + videoWithVideoLocation:fairplayKeyLocation:
 Class method that uses initWithFileLocation:keyLocation: initializer. More...
 

Properties

NSURL * keyLocation
 
- Properties inherited from OOUnbundledVideo
NSArray * streams
 contains OOStreams. More...
 
NSArray * ads
 contains OOManagedAdSpots. More...
 

Method Documentation

- (instancetype) initWithVideoLocation: (NSURL *)  NS_DESIGNATED_INITIALIZER

Init an OOOfflineVideo with the location of a downloaded asset.

Use this for Clear (non protected) HLS assets.

Parameters
locationwhere the downloaded asset is located locally.
- (instancetype) initWithVideoLocation: (NSURL *)  location
fairplayKeyLocation: (NSURL *)  keyLocation 

Init an OOOfflineVideo with the location of a downloaded asset.

Use this for Fairplay HLS assets.

Parameters
locationwhere the downloaded asset is located locally.
keyLocationwhere the Fairplay key is stored.
- (instancetype) NS_UNAVAILABLE
+ (OOOfflineVideo *) videoWithVideoLocation: (NSURL *)  location

Class method that uses initWithFileLocation: initializer.

Parameters
locationwhere the downloaded asset is located locally.
+ (OOOfflineVideo *) videoWithVideoLocation: (NSURL *)  location
fairplayKeyLocation: (NSURL *)  keyLocation 

Class method that uses initWithFileLocation:keyLocation: initializer.

Parameters
locationwhere the downloaded asset is located locally.
keyLocationwhere the Fairplay key is stored.

Property Documentation

- (NSURL*) keyLocation
readnonatomicassign

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