Skip to content

Most visited

Recently visited

added in API level 8

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.


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


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. 
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 A class that represents a local system update policy set by the device owner. 


SystemUpdatePolicy.ValidationFailedException An exception class that represents various validation errors thrown from setFreezePeriods(List>) and setSystemUpdatePolicy(ComponentName, SystemUpdatePolicy)  
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Suivez Google Developers sur WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)