Package com.brightcove.player.drm
Class OfflineLicenseManagerFactory
java.lang.Object
com.brightcove.player.drm.OfflineLicenseManagerFactory
- All Implemented Interfaces:
LicenseManagerFactory
Factory for creating
LicenseManager
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLicenseManager
(Video video, Source source) Creates a new instance ofLicenseManager
, which can be used to acquire, renew or releases (Offline) playback DRM license for a specific video source.static LicenseManagerFactory
-
Constructor Details
-
OfflineLicenseManagerFactory
public OfflineLicenseManagerFactory()
-
-
Method Details
-
provideLicenseManagerFactory
-
createLicenseManager
Creates a new instance ofLicenseManager
, 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 interfaceLicenseManagerFactory
- Parameters:
video
- reference to an offline playback enabled video.source
- reference to the source in the video that requires an offline playback license operation.- Returns:
- a new instance of
LicenseManager
-
createLicenseManager
public LicenseManager createLicenseManager(@NonNull Video video, @NonNull Source source, Map<String, String> properties) - Specified by:
createLicenseManager
in interfaceLicenseManagerFactory
-