Package io.flutter.plugin.common

## Interface PluginRegistry.RequestPermissionsResultListener

- All Known Subinterfaces:
    `FlutterActivityEvents`
  All Known Implementing Classes:
    `FlutterActivityDelegate`, `FlutterPluginRegistry`
  Enclosing interface:
    PluginRegistry

      public static interface PluginRegistry.RequestPermissionsResultListener

  Delegate interface for handling result of permissions requests on behalf of the main `Activity`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `onRequestPermissionsResult​(int requestCode, String[] permissions, int[] grantResults)` |

- - ### Method Detail

    - #### onRequestPermissionsResult

          boolean onRequestPermissionsResult​(int requestCode,
                                             String[] permissions,
                                             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.