Partager via


DeviceAdminReceiver.ActionDeviceAdminDisableRequested Field

Definition

Action sent to a device administrator when the user has requested to disable it, but before this has actually been done.

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

Field Value

Attributes

Remarks

Action sent to a device administrator when the user has requested to disable it, but before this has actually been done. This gives you a chance to supply a message to the user about the impact of disabling your admin, by setting the extra field #EXTRA_DISABLE_WARNING in the result Intent. If not set, no warning will be displayed. If set, the given text will be shown to the user before they disable your admin.

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

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