Android Question Location acces options

When using GPS-tracking and asking for permission you get (in current android versions) if you want to
- allways allow
- allow when using app
- denie

Is there a way to check which of the options is selected?
The result is true or false. But we would like to know which option is selected bij the user.

Currently we're using the code below to ask for permission

B4X:
...
    Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION)
    Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
    If Result=True Then
....
 
Top