public class OfflineLicenseManagerFactory extends java.lang.Object implements LicenseManagerFactory
LicenseManager
instances.Constructor and Description |
---|
OfflineLicenseManagerFactory() |
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. |
static LicenseManagerFactory |
provideLicenseManagerFactory() |
@Provides @Singleton @NonNull public static LicenseManagerFactory provideLicenseManagerFactory()
public LicenseManager createLicenseManager(@NonNull Video video, @NonNull Source source)
LicenseManagerFactory
LicenseManager
, which can be used to acquire, renew or
releases (Offline) playback DRM license for a specific video source.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.LicenseManager