Dmitry B. Dmitry B. - 9 months ago 77
Android Question

Android: how to enumerate available DRM plugins

I need to collect information on all available DRM plugins. Android's document on DRM mentions that all available plugins can be found under

. Is there an API that can give me similar information in a more friendly format (e.g. human readable plugin names rather than cryptic filenames).

Answer Source

DrmManagerClient.getAvailableDrmEngines() gives you the info of all the available engines.

There's no reason to read these from the file location yourself. From the DRM docs

Plug-ins are loaded automatically when DrmManagerService is launched