Contains classes to manage Device Admin Operations.
Here is an example of typical code to use Device Admin Manager.
IDeviceAdminManager iDam = DeviceAdminManager.getInterface(context); iDam.setActiveAdmin(); iDam.setActiveAdminLocked(true);alternatively,
DeviceAdminManager.getInterface(context).setActiveAdmin(); DeviceAdminManager.getInterface(context).setActiveAdminLocked(true);
IDeviceAdminManager | Provides a set of APIs for auto activating and deactivating device admin. |
DeviceAdminManager | Provides IDeviceAdminManager interface by calling getInterface(Context) method. |