DevicePolicyManager.DevicePolicyManagementRoleHolderPackage Property

Definition

Returns the package name of the device policy management role holder.

public virtual string? DevicePolicyManagementRoleHolderPackage { [Android.Runtime.Register("getDevicePolicyManagementRoleHolderPackage", "()Ljava/lang/String;", "GetGetDevicePolicyManagementRoleHolderPackageHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getDevicePolicyManagementRoleHolderPackage", "()Ljava/lang/String;", "GetGetDevicePolicyManagementRoleHolderPackageHandler", ApiSince=33)>]
member this.DevicePolicyManagementRoleHolderPackage : string

Property Value

Attributes

Remarks

Returns the package name of the device policy management role holder.

If the device policy management role holder is not configured for this device, returns null.

Java documentation for android.app.admin.DevicePolicyManager.getDevicePolicyManagementRoleHolderPackage().

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