status

Current foreground location permission.

Fine permission maps to LocationPermission.Granted at precise accuracy, and coarse at approximate. Otherwise the status is LocationPermission.NotGranted:

  • shouldShowRationale = true when Android advises explaining the request first.

  • canRequest = false after a permanent denial that requestForegroundPermission recorded.

  • canRequest = null when context cannot reach an activity for the rationale check.

  • canRequest = true otherwise.

The value refreshes when the resolved activity resumes.