Android.Content.PM.PackageManager.CheckPermission Method
Check whether a particular package has been granted a particular permission.

Syntax

[Android.Runtime.Register("checkPermission", "(Ljava/lang/String;Ljava/lang/String;)I", "GetCheckPermission_Ljava_lang_String_Ljava_lang_String_Handler")]
public abstract Permission CheckPermission (string permName, string pkgName)

Parameters

permName
The name of the permission you are checking for,
pkgName
The name of the package you are checking against.

Returns

Documentation for this section has not yet been entered.

Remarks

Check whether a particular package has been granted a particular permission.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1