Android.Content.Context.CheckPermission Method
Determine whether the given permission is allowed for a particular process and user ID running in the system.

Syntax

[Android.Runtime.Register("checkPermission", "(Ljava/lang/String;II)I", "GetCheckPermission_Ljava_lang_String_IIHandler")]
public abstract Android.Content.PM.Permission CheckPermission (string permission, int pid, int uid)

See Also

Android.Content.PM.PackageManager.CheckPermission(string, System.String)
Context.CheckCallingPermission(string)

Parameters

permission
The name of the permission being checked.
pid
The process ID being checked against. Must be > 0.
uid
The user ID being checked against. A uid of 0 is the root user, which will pass every permission check.

Returns

Documentation for this section has not yet been entered.

Remarks

Determine whether the given permission is allowed for a particular process and user ID running in the system.

[Android Documentation]

Requirements

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