Package: android.hardware.drm@1.1

IDrmFactory

interface IDrmFactory extends @1.0::IDrmFactory

IDrmFactory is the main entry point for interacting with a vendor's drm HAL to create drm plugin instances.A drm plugin instance creates drm sessions which are used to obtain keys for a crypto session so it can decrypt protected video content.

The 1.1 factory must always create 1.1 IDrmPlugin interfaces, which are returned via the 1.0 createPlugin method.

To use 1.1 features the caller must cast the returned interface to a 1.1 HAL, using V1_1::IDrmPlugin::castFrom().