Class OfflineDownloadFactory

java.lang.Object
com.jwplayer.pub.api.offline.OfflineDownloadFactory

public final class OfflineDownloadFactory extends Object
  • Method Details

    • getOfflineDownloadManager

      public static OfflineDownloadManager getOfflineDownloadManager(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