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, 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. |
DelegatedAdminReceiver | Base class for delegated apps to handle callbacks related to their delegated capabilities. |
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. |
DevicePolicyIdentifiers |
Class containing identifiers for policy APIs in DevicePolicyManager , for example they
will be passed in PolicyUpdateReceiver.onPolicySetResult and
PolicyUpdateReceiver.onPolicyChanged to communicate updates of a certain policy back
to the admin.
|
DevicePolicyManager | Manages device policy and restrictions applied to the user of the device or apps running on the device. |
DevicePolicyManager.InstallSystemUpdateCallback |
Callback used in DevicePolicyManager.installSystemUpdate(ComponentName, Uri, Executor, InstallSystemUpdateCallback) to indicate that there was an error while
trying to install an update.
|
DevicePolicyResources | Class containing the required identifiers to update device management resources. |
DevicePolicyResourcesManager | Class containing required APIs to set, reset, and get device policy related resources. |
DnsEvent | A class that represents a DNS lookup event initiated through the standard network stack. |
FactoryResetProtectionPolicy | The factory reset protection policy determines which accounts can unlock a device that has gone through untrusted factory reset. |
FactoryResetProtectionPolicy.Builder |
Builder class for FactoryResetProtectionPolicy objects.
|
FreezePeriod | A class that represents one freeze period which repeats annually. |
ManagedSubscriptionsPolicy | A policy class that describes how managed SIM subscriptions should behave on the device. |
NetworkEvent | An abstract class that represents a network event. |
PackagePolicy | A generic class that defines which APK packages are in scope for some device policy. |
PolicyUpdateReceiver | Base class for implementing a policy update receiver. |
PolicyUpdateResult |
Class containing the reason for the policy (set from DevicePolicyManager ) update (e.g.
|
PreferentialNetworkServiceConfig | Network configuration to be set for the user profile . |
PreferentialNetworkServiceConfig.Builder |
Builder used to create PreferentialNetworkServiceConfig objects.
|
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. |
TargetUser |
Class representing the target user of a policy set by an admin
(set from DevicePolicyManager ), this is passed in to
PolicyUpdateReceiver.onPolicySetResult and
PolicyUpdateReceiver.onPolicyChanged .
|
WifiSsidPolicy | Used to indicate the Wi-Fi SSID restriction policy the network must satisfy in order to be eligible for a connection. |
Exceptions
SystemUpdatePolicy.ValidationFailedException |
An exception class that represents various validation errors thrown from
SystemUpdatePolicy.setFreezePeriods and
DevicePolicyManager.setSystemUpdatePolicy
|
UnsafeStateException |
Exception thrown when a DevicePolicyManager operation failed because it
was not safe to be executed at that moment.
|
Interfaces
Classes
- ConnectEvent
- DelegatedAdminReceiver
- DeviceAdminInfo
- DeviceAdminReceiver
- DeviceAdminService
- DevicePolicyIdentifiers
- DevicePolicyManager
- DevicePolicyManager.InstallSystemUpdateCallback
- DevicePolicyResources
- DevicePolicyResourcesManager
- DnsEvent
- FactoryResetProtectionPolicy
- FactoryResetProtectionPolicy.Builder
- FreezePeriod
- ManagedSubscriptionsPolicy
- NetworkEvent
- PackagePolicy
- PolicyUpdateReceiver
- PolicyUpdateResult
- PreferentialNetworkServiceConfig
- PreferentialNetworkServiceConfig.Builder
- SecurityLog
- SecurityLog.SecurityEvent
- SystemUpdateInfo
- SystemUpdatePolicy
- TargetUser
- WifiSsidPolicy
Exceptions