Android.App.AppOpsManager.CheckPackage Method
Do a quick check to validate if a package name belongs to a UID.

Syntax

[Android.Runtime.Register("checkPackage", "(ILjava/lang/String;)V", "GetCheckPackage_ILjava_lang_String_Handler")]
public virtual void CheckPackage (int uid, string packageName)

Parameters

uid
Documentation for this section has not yet been entered.
packageName
Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.SecurityExceptionif the package name doesn't belong to the given UID, or if ownership cannot be verified.

Remarks

Do a quick check to validate if a package name belongs to a UID.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0