Package com.jwplayer.pub.api.offline
Class OfflineDownloadFactory
- java.lang.Object
-
- com.jwplayer.pub.api.offline.OfflineDownloadFactory
-
public final class OfflineDownloadFactory extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
destroyAll()
Destroys all Offline DRM resources.static OfflineDownloadManager
getOfflineDownloadManager(android.content.Context context)
Returns the DrmDownloadManager responsible for managing a specific piece of media.
-
-
-
Method Detail
-
getOfflineDownloadManager
public static OfflineDownloadManager getOfflineDownloadManager(android.content.Context context)
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
-
-