-
- All Implemented Interfaces:
-
com.brightcove.player.drm.LicenseManagerFactory
@Module() public class OfflineLicenseManagerFactory implements LicenseManagerFactory
Factory for creating LicenseManager instances.
-
-
Method Summary
Modifier and Type Method Description static LicenseManagerFactory
provideLicenseManagerFactory()
LicenseManager
createLicenseManager(@NonNull() Video video, @NonNull() Source source)
Creates a new instance of LicenseManager, which can be used to acquire, renew orreleases (Offline) playback DRM license for a specific video source.Note: You need to set DrmSessionEventListener.EventDispatcher if you want to benotified by the Drm Session Events. LicenseManager
createLicenseManager(@NonNull() Video video, @NonNull() Source source, Map<String, String> properties)
-
-
Method Detail
-
provideLicenseManagerFactory
@Provides()@Singleton()@NonNull() static LicenseManagerFactory provideLicenseManagerFactory()
-
createLicenseManager
@NonNull() LicenseManager createLicenseManager(@NonNull() Video video, @NonNull() Source source)
Creates a new instance of LicenseManager, which can be used to acquire, renew orreleases (Offline) playback DRM license for a specific video source.Note: You need to set DrmSessionEventListener.EventDispatcher if you want to benotified by the Drm Session Events.
- Parameters:
video
- reference to an offline playback enabled video.source
- reference to the source in the video that requires an offline playback license operation.
-
-
-
-