Android.Content.Context.CheckUriPermission Method
Check both a Uri and normal permission.

Syntax

[Android.Runtime.Register("checkUriPermission", "(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I", "GetCheckUriPermission_Landroid_net_Uri_Ljava_lang_String_Ljava_lang_String_IIIHandler")]
public abstract Android.Content.PM.Permission CheckUriPermission (Android.Net.Uri uri, string readPermission, string writePermission, int pid, int uid, [Android.Runtime.GeneratedEnum] ActivityFlags modeFlags)

Parameters

uri
The Uri whose permission is to be checked, or null to not do this check.
readPermission
The permission that provides overall read access, or null to not do this check.
writePermission
The permission that provides overall write access, or null to not do this check.
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.
modeFlags
The type of access to grant. May be one or both of Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION.

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