hasNearbyWifiDevicesOrLocationPermission

Checks whether the app has permission to access nearby Wi-Fi devices (Android 13+) or fine location (pre-Android 13).

Receiver

The Context used to check permissions.

Return

true if the required permission is granted, false otherwise.