Skip to content

Commit

Permalink
docs: tidy up README
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorvs committed Jan 4, 2016
1 parent 84e3aa1 commit 6bbac53
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 6bbac53

Please sign in to comment.