Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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