Share via


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

Parameters

permission
String

The name of the permission being checked.

Returns

Attributes

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