Share via


DevicePolicyManager.ActionDeviceAdminService Field

Definition

Service action: Action for a service that device owner and profile owner can optionally own.

[Android.Runtime.Register("ACTION_DEVICE_ADMIN_SERVICE", ApiSince=26)]
public const string ActionDeviceAdminService;
[<Android.Runtime.Register("ACTION_DEVICE_ADMIN_SERVICE", ApiSince=26)>]
val mutable ActionDeviceAdminService : string

Field Value

Attributes

Remarks

Service action: Action for a service that device owner and profile owner can optionally own. If a device owner or a profile owner has such a service, the system tries to keep a bound connection to it, in order to keep their process always running. The service must be protected with the android.Manifest.permission#BIND_DEVICE_ADMIN permission.

Java documentation for android.app.admin.DevicePolicyManager.ACTION_DEVICE_ADMIN_SERVICE.

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