Checks if the package is installed and enabled for a profile.
Syntax
[Android.Runtime.Register("isPackageEnabled", "(Ljava/lang/String;Landroid/os/UserHandle;)Z", "GetIsPackageEnabled_Ljava_lang_String_Landroid_os_UserHandle_Handler")]
public virtual
bool IsPackageEnabled (
string packageName,
Android.OS.UserHandle user)
Parameters
- packageName
- The package to check.
- user
- The UserHandle of the profile.
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0