Abstract Offline Catalog
constructor(context: Context, eventEmitter: EventEmitter, account: String, policy: String, baseURL: String)
Deprecated
Base constructor for AbstractOfflineCatalog. Creates an ExternalFileCreator as its DownloadFileCreator.
Parameters
context
an instance of a Context.
event Emitter
an instance of an EventEmitter.
account
Account id from VideoCloud.
policy
Policy Key from VideoCloud.
base URL
Playback API base url.
constructor(context: Context, eventEmitter: EventEmitter, account: String, policy: String, baseURL: String, downloadFileCreator: DownloadFileCreator)
Deprecated
Constructor for AbstractOfflineCatalog with a custom DownloadFileCreator.
Parameters
context
an instance of a Context.
event Emitter
an instance of an EventEmitter.
account
Account id from VideoCloud.
policy
Policy Key from VideoCloud.
base URL
Playback API base url.
download File Creator
DownloadFileCreator to retrieve a directory to store offline content.