Package com.jwplayer.pub.api.offline
Class OfflineDownloadFactory
java.lang.Object
com.jwplayer.pub.api.offline.OfflineDownloadFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Destroys all Offline DRM resources.static OfflineDownloadManager
getOfflineDownloadManager
(Context context) Returns the DrmDownloadManager responsible for managing a specific piece of media.
-
Method Details
-
getOfflineDownloadManager
Returns the DrmDownloadManager responsible for managing a specific piece of media. Will return null if the mediaId is null or empty- Parameters:
context
- The application context
-
destroyAll
public static void destroyAll()Destroys all Offline DRM resources. To be called when the Activity is destroyed
-