Android.App.Admin.DeviceAdminReceiver: Method Members

The methods of Android.App.Admin.DeviceAdminReceiver are listed below. For a list of all members, see the DeviceAdminReceiver Members list.

See Also: Inherited members from Android.Content.BroadcastReceiver

Public Methods

GetManager(Android.Content.Context) : DevicePolicyManager
Retrieve the DevicePolicyManager interface for this administrator to work with the system.
GetWho(Android.Content.Context) : Android.Content.ComponentName
Retrieve the ComponentName describing who this device administrator is, for use in Android.App.Admin.DevicePolicyManager APIs that require the administrator to identify itself.
OnDisabled(Android.Content.Context, Android.Content.Intent)
Called prior to the administrator being disabled, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisabled.
OnDisableRequested(Android.Content.Context, Android.Content.Intent) : string
Documentation for this section has not yet been entered.
OnDisableRequestedFormatted(Android.Content.Context, Android.Content.Intent) : Java.Lang.ICharSequence
Called when the user has asked to disable the administrator, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminDisableRequested, giving you a chance to present a warning message to them.
OnEnabled(Android.Content.Context, Android.Content.Intent)
Called after the administrator is first enabled, as a result of receiving DeviceAdminReceiver.ActionDeviceAdminEnabled.
OnLockTaskModeEntering(Android.Content.Context, Android.Content.Intent, string)
Called when a device is entering lock task mode by a package authorized by DevicePolicyManager.IsLockTaskPermitted(string)
OnLockTaskModeExiting(Android.Content.Context, Android.Content.Intent)
Called when a device is exiting lock task mode by a package authorized by DevicePolicyManager.IsLockTaskPermitted(string)
OnPasswordChanged(Android.Content.Context, Android.Content.Intent)
Called after the user has changed their password, as a result of receiving DeviceAdminReceiver.ActionPasswordChanged.
OnPasswordExpiring(Android.Content.Context, Android.Content.Intent)
Called periodically when the password is about to expire or has expired.
OnPasswordFailed(Android.Content.Context, Android.Content.Intent)
Called after the user has failed at entering their current password, as a result of receiving DeviceAdminReceiver.ActionPasswordFailed.
OnPasswordSucceeded(Android.Content.Context, Android.Content.Intent)
Called after the user has succeeded at entering their current password, as a result of receiving DeviceAdminReceiver.ActionPasswordSucceeded.
OnProfileProvisioningComplete(Android.Content.Context, Android.Content.Intent)
Called when provisioning of a managed profile or managed device has completed successfully.
override
OnReceive(Android.Content.Context, Android.Content.Intent)
Intercept standard device administrator broadcasts.