Partager via


DeviceAdminReceiver.ActionDeviceAdminDisabled Field

Definition

Action sent to a device administrator when the user has disabled it.

[Android.Runtime.Register("ACTION_DEVICE_ADMIN_DISABLED")]
public const string ActionDeviceAdminDisabled;
[<Android.Runtime.Register("ACTION_DEVICE_ADMIN_DISABLED")>]
val mutable ActionDeviceAdminDisabled : string

Field Value

Attributes

Remarks

Action sent to a device administrator when the user has disabled it. Upon return, the application no longer has access to the protected device policy manager APIs. You will generally handle this in DeviceAdminReceiver#onDisabled(Context, Intent). Note that this action will be sent the receiver regardless of whether it is explicitly listed in its intent filter.

Java documentation for android.app.admin.DeviceAdminReceiver.ACTION_DEVICE_ADMIN_DISABLED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to