Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in API level 8

android.app.admin

Provides device administration features at the system level, allowing you to create security-aware applications that are useful in enterprise settings, in which IT professionals require rich control over employee devices.

For more information, see the Device Administration guide.

Interfaces

DevicePolicyManager.OnClearApplicationUserDataListener Callback used in DevicePolicyManager.clearApplicationUserData(ComponentName, String, Executor, DevicePolicyManager.OnClearApplicationUserDataListener) to indicate that the clearing of an application's user data is done. 

Classes

ConnectEvent A class that represents a TCP connect event initiated through the standard network stack. 
DeviceAdminInfo This class is used to specify meta information of a device administrator component. 
DeviceAdminReceiver Base class for implementing a device administration component. 
DeviceAdminService Base class for a service that device owner/profile owners can optionally have. 
DevicePolicyManager Public interface for managing policies enforced on a device. 
DnsEvent A class that represents a DNS lookup event initiated through the standard network stack. 
FreezePeriod A class that represents one freeze period which repeats annually
NetworkEvent An abstract class that represents a network event. 
SecurityLog Definitions for working with security logs. 
SecurityLog.SecurityEvent A class representing a security event log entry. 
SystemUpdateInfo A class containing information about a pending system update. 
SystemUpdatePolicy Determines when over-the-air system updates are installed on a device. 

Exceptions

SystemUpdatePolicy.ValidationFailedException An exception class that represents various validation errors thrown from SystemUpdatePolicy.setFreezePeriods(List) and DevicePolicyManager.setSystemUpdatePolicy(ComponentName, SystemUpdatePolicy)