Package com.jwplayer.pub.api.offline
Class OfflineDownloadFactory
java.lang.Object
com.jwplayer.pub.api.offline.OfflineDownloadFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidDestroys all Offline DRM resources.static OfflineDownloadManagergetOfflineDownloadManager(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
-