AbstractOfflineCatalog
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.
eventEmitter
an instance of an EventEmitter.
account
Account id from VideoCloud.
policy
Policy Key from VideoCloud.
baseURL
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.
eventEmitter
an instance of an EventEmitter.
account
Account id from VideoCloud.
policy
Policy Key from VideoCloud.
baseURL
Playback API base url.
downloadFileCreator
DownloadFileCreator to retrieve a directory to store offline content.