From 6bbac5383a577378c5046e9c936dcea146fe0fd4 Mon Sep 17 00:00:00 2001 From: Aitor Viana Date: Mon, 4 Jan 2016 17:12:08 +0100 Subject: [PATCH] docs: tidy up README --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e07e30b..ce78d4e 100644 --- a/README.md +++ b/README.md @@ -129,10 +129,12 @@ when the permission request is performed. } ``` -The annotation `OnPermissionResult` an array of permissions in its param `requestedPermissions`. +The annotation `OnPermissionResult` receives the list of requested permissions in `requestedPermissions` param. -Note that the `request` call of the Builder pattern also receives a first param which is the class that -will contain the annotated method. +To use the annotated method, a new `request` call should be used. This call receives two params: + +- `Object` with class the annotated method belongs to +- `int` with the permission request code The library will then call the annotated method to handle the permission request.