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
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
Requirements
Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1