Options object used to create an OODtoAsset.
More...
#import <OOAssetDownloadOptions.h>
Options object used to create an OODtoAsset.
Here is an example on how to instantiate this class:
downloadOptions.
pcode =
@"MY_PCODE";
downloadOptions.
embedCode =
@"MY_EMBED_CODE";
You can then use the OOAssetDownloadOptions instance to create an OODtoAsset instance.
- (BOOL) allowsCellularAccess |
|
readwritenonatomicassign |
When this property is enabled users will be able to download an asset using cellular data, e.g.
4G, LTE, 3G. Set it to false (NO) to only allow WiFi to be used. By default it is true (YES)
This property can be used to pass Custom Implementation of AVAssetResourceLoaderDelegate from AVFoundation.
This SHOULD always be used with fakeURLScheme property available in OOAssetDownloadOptions. Note : This only for special purposes. It's NOT recommend to use this property. When this property is in use, you CAN NOT use FairPlay.
Ooyala's whitelist domain, for example: "http://www.ooyala.com/".
Ooyala's video embed code (asset id)
- (id<OOEmbedTokenGenerator>) embedTokenGenerator |
|
readwritenonatomicassign |
Generates an embed token used for OPT (Ooyala Player Token), entitlements, and DRM assets.
- (NSString*) fakeURLScheme |
|
readwritenonatomicassign |
This property can be used to set a fake URL scheme.
For example, it changes "http" or "https" TO "fakeScheme" in the 'assetLoaderDelegate' property. This SHOULD always be used with 'assetLoaderDelegate' property available in OOAssetDownloadOptions. Note: This is only for special purposes. It's not recommended to use this property.
- (NSNumber*) minimumBitrate |
|
readwritenonatomicassign |
The lowest media bitrate greater than or equal to this value will be selected.
Value should be a NSNumber in bps. If no suitable media bitrate is found, the highest media bitrate will be selected. A negative number or 0, will default to the highest media bitrate.
The Ooyala's account provider code.
How long to wait, in seconds, for the authorization requests previous to downloading an asset.
Note the timeout is applied to every authorization request that happens in the background, so you might wait longer than specified if something is going wrong. Default: 10.0
The documentation for this class was generated from the following file: