Optional
Readonly
configThe configuration object used to initialize this instance.
Readonly
nativeOptionally user-defined string id
for the native instance, or UUIDv4.
Adds a listener to the receive data from the native OfflineContentManagerListener
callbacks
Returns a function that removes this listener from the OfflineContentManager
that registered it.
Enqueues downloads according to the OfflineDownloadRequest
.
The promise will reject in the event of null or invalid request parameters.
The promise will reject when calling this method when download has already started or is completed.
The promise will resolve when the download has been queued. The download will is not finished when the promise resolves.
Gets the current state of the OfflineContentManager
Provides the means to download and store sources locally that can be played back with a Player without an active network connection. An OfflineContentManager instance can be created via the constructor and will be idle until initialized.
Platform
Android, iOS