You are right, I just mimicked the Android APIs. This makes the API little more flexible. If the permission is passed in, this allows calling the API directly without doing a null check and calling different APIs.