Context.CheckCallingOrSelfPermission(String) Context.CheckCallingOrSelfPermission(String) Method

Definition

Determine whether the calling process of an IPC or you have been granted a particular permission.

[Android.Runtime.Register("checkCallingOrSelfPermission", "(Ljava/lang/String;)I", "GetCheckCallingOrSelfPermission_Ljava_lang_String_Handler")]
public abstract Android.Content.PM.Permission CheckCallingOrSelfPermission (string permission);
abstract member CheckCallingOrSelfPermission : string -> Android.Content.PM.Permission

Parameters

permission
String String

The name of the permission being checked.

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also