Package io.flutter.plugin.common

# Interface PluginRegistry.RequestPermissionsResultListener

Enclosing interface:
  PluginRegistry

public static interface PluginRegistry.RequestPermissionsResultListener
Delegate interface for handling result of permissions requests on behalf of the main `Activity`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults)`

- ## Method Details

  - ### onRequestPermissionsResult

    boolean onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
    Parameters:
      `requestCode` - The request code passed in `ActivityCompat.requestPermissions(android.app.Activity, String[], int)`.
      `permissions` - The requested permissions.
      `grantResults` - The grant results for the corresponding permissions which is either `PackageManager.PERMISSION_GRANTED` or `PackageManager.PERMISSION_DENIED`.
    Returns:
      true if the result has been handled.