android.app.admin


Interfaces

OnClearApplicationUserDataListener

Callback used in clearApplicationUserData 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.

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.

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. success, failure reasons, etc.).

PreferentialNetworkServiceConfig

Network configuration to be set for the user profile {@see DevicePolicyManager#setPreferentialNetworkServiceConfigs}.

SecurityLog

Definitions for working with security logs.

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

UnsafeStateException

Exception thrown when a android.app.admin.DevicePolicyManager operation failed because it was not safe to be executed at that moment.