public interface LicenseManagerFactory
LicenseManager
instances.Modifier and Type | Method and Description |
---|---|
LicenseManager |
createLicenseManager(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. |
@NonNull LicenseManager createLicenseManager(@NonNull Video video, @NonNull Source source)
LicenseManager
, which can be used to acquire, renew or
releases (Offline) playback DRM license for a specific video source.video
- reference to an offline playback enabled video.source
- reference to the source in the video that requires an offline playback license operation.LicenseManager
java.lang.IllegalStateException
- If the DRM scheme is unsupported or if a new license manager
cannot be created.