Platform.OnRequestPermissionsResult(Int32, String[], Permission[]) Method

Definition

Pass permission request results from an activity's overridden method to the library for handling internal permission requests.

public static void OnRequestPermissionsResult (int requestCode, string[] permissions, Android.Content.PM.Permission[] grantResults);

Parameters

requestCode
System.Int32

The requestCode from the corresponding overridden method in an activity.

permissions
System.String[]

The permissions from the corresponding overridden method in an activity.

grantResults
Android.Content.PM.Permission[]

The grantResults from the corresponding overridden method in an activity.

Applies to