Class OfflineLicenseManagerFactory

    • Constructor Detail

      • OfflineLicenseManagerFactory

        public OfflineLicenseManagerFactory()
    • Method Detail

      • provideLicenseManagerFactory

        public static LicenseManagerFactory provideLicenseManagerFactory()
      • createLicenseManager

        public LicenseManager createLicenseManager​(@NonNull
                                                   Video video,
                                                   Source source)
        Creates a new instance of LicenseManager, which can be used to acquire, renew or releases (Offline) playback DRM license for a specific video source. Note: You need to set DrmSessionEventListener.EventDispatcher if you want to be notified by the Drm Session Events.
        Specified by:
        createLicenseManager in interface LicenseManagerFactory
        video - reference to an offline playback enabled video.
        source - reference to the source in the video that requires an offline playback license operation.
        a new instance of LicenseManager