OOAssetDownloadOptions.h
1 //
2 // OOAssetDownloadOptions.h
3 // OoyalaSDK
4 //
5 // Created on 8/9/16.
6 // Copyright © 2016 Brightcove, Inc. All rights reserved.
7 
8 #import <Foundation/Foundation.h>
9 
10 @class OOPlayerDomain;
12 @protocol OOEmbedTokenGenerator;
13 
32 @interface OOAssetDownloadOptions : NSObject <NSCopying>
33 
37 @property (nonatomic, nonnull) NSString *pcode;
38 
42 @property (nonatomic, nonnull) NSString *embedCode;
43 
47 @property (nonatomic, nonnull) OOPlayerDomain *domain;
48 
52 @property (nonatomic, nullable) id<OOEmbedTokenGenerator> embedTokenGenerator;
53 
59 @property (nonatomic) Float32 timeout;
60 
66 @property (nonatomic, nullable) NSNumber *minimumBitrate;
67 
73 @property (nonatomic) BOOL allowsCellularAccess;
74 
81 @property (nonatomic, nullable) OOAssetLoaderDelegate *assetLoaderDelegate;
82 
89 @property (nonatomic, nullable) NSString *fakeURLScheme;
90 
91 @end
NSString * fakeURLScheme
This property can be used to set a fake URL scheme.
Definition: OOAssetDownloadOptions.h:89
NSString * pcode
The Ooyala&#39;s account provider code.
Definition: OOAssetDownloadOptions.h:37
Represents the domain under which Ooyala analytics will be recorded.
Definition: OOPlayerDomain.h:7
BOOL allowsCellularAccess
When this property is enabled users will be able to download an asset using cellular data...
Definition: OOAssetDownloadOptions.h:73
Definition: OOAssetLoaderDelegate.h:15
id< OOEmbedTokenGenerator > embedTokenGenerator
Generates an embed token used for OPT (Ooyala Player Token), entitlements, and DRM assets...
Definition: OOAssetDownloadOptions.h:52
OOAssetLoaderDelegate * assetLoaderDelegate
This property can be used to pass Custom Implementation of AVAssetResourceLoaderDelegate from AVFound...
Definition: OOAssetDownloadOptions.h:81
Options object used to create an OODtoAsset.
Definition: OOAssetDownloadOptions.h:32
NSNumber * minimumBitrate
The lowest media bitrate greater than or equal to this value will be selected.
Definition: OOAssetDownloadOptions.h:66
NSString * embedCode
Ooyala&#39;s video embed code (asset id)
Definition: OOAssetDownloadOptions.h:42
OOPlayerDomain * domain
Ooyala&#39;s whitelist domain, for example: "http://www.ooyala.com/".
Definition: OOAssetDownloadOptions.h:47
Float32 timeout
How long to wait, in seconds, for the authorization requests previous to downloading an asset...
Definition: OOAssetDownloadOptions.h:59