get
Gets the AndroidPermissionState of a permission for a given Activity.
Parameters
activity
The Activity on which to check for the permission state
permission
The name of the permission being checked. Should correspond to android.Manifest.permission.
Gets the AndroidPermissionState of a permission for a given Context. Does not return DENIED_DO_NOT_ASK.
Parameters
context
The Context on which to check for the permission state
permission
The name of the permission being checked. Should correspond to android.Manifest.permission.