Context.CheckCallingPermission(String) Context.CheckCallingPermission(String) Method

Definition

Determine whether the calling process of an IPC you are handling has been granted a particular permission.

[Android.Runtime.Register("checkCallingPermission", "(Ljava/lang/String;)I", "GetCheckCallingPermission_Ljava_lang_String_Handler")]
public abstract Android.Content.PM.Permission CheckCallingPermission (string permission);
abstract member CheckCallingPermission : 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