Interface PluginRegistry.RequestPermissionsResultListener

    • Method Detail

      • 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.