OOAssetLoaderDelegate.h
1 //
2 // OOAssetLoaderDelegate.h
3 // OoyalaSDK
4 //
5 // Created on 1/25/16.
6 // Copyright © 2016 Brightcove, Inc. All rights reserved.
7 //
8 
9 #import <AVFoundation/AVFoundation.h>
10 #import "OOSecureURLGenerator.h"
11 
12 @class OOStream;
14 
15 @interface OOAssetLoaderDelegate : NSObject<AVAssetResourceLoaderDelegate>
16 
17 - (instancetype)init NS_UNAVAILABLE;
18 
19 - (instancetype)initWithAsset:(AVURLAsset *)asset
20  pcode:(NSString *)pcode
21  authToken:(NSString *)authToken
22  secureURLGenerator:(id<OOSecureURLGenerator>)secureURLGenerator
23  timeout:(NSTimeInterval)timeout NS_DESIGNATED_INITIALIZER;
24 
28 - (instancetype)initWithAsset:(AVURLAsset *)asset
29  stream:(OOStream *)stream
30  pcode:(NSString *)pcode
31  authToken:(NSString *)authToken
32  timeout:(NSTimeInterval)timeout;
33 
34 @property (nonatomic, weak) id<OOFairplayContentKeyDelegate> delegate;
35 
40 @property (nonatomic) NSURL *fairplayKeyURL;
41 
42 @end
OOStream.
Definition: OOStream.h:22
Definition: OOAssetLoaderDelegate.h:15
NSURL * fairplayKeyURL
For offline playback, this property tells where the fairplay key is stored in the device...
Definition: OOAssetLoaderDelegate.h:40
id< OOFairplayContentKeyDelegate > delegate
Definition: OOAssetLoaderDelegate.h:34
This delegate communicates about downloading a Fairplay license.
Definition: OOFairplayContentKeyDelegate.h:18
instancetype NS_UNAVAILABLE()