Android.App.Admin.DevicePolicyManager.IsProfileOwnerApp Method
Used to determine if a particular package is registered as the profile owner for the current user.

Syntax

[Android.Runtime.Register("isProfileOwnerApp", "(Ljava/lang/String;)Z", "GetIsProfileOwnerApp_Ljava_lang_String_Handler")]
public virtual bool IsProfileOwnerApp (string packageName)

Parameters

packageName
The package name of the app to compare with the registered profile owner.

Returns

Documentation for this section has not yet been entered.

Remarks

Used to determine if a particular package is registered as the profile owner for the current user. A profile owner is a special device admin that has additional privileges within the profile.

[Android Documentation]

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8