hasBluetoothConnectPermission

Checks whether the app has permission to connect to Bluetooth devices.

On Android 12+ (SDK 31+), uses Manifest.permission.BLUETOOTH_CONNECT. On earlier versions, always returns true.

Receiver

The Context used to check permissions.

Return

true if the permission is granted or not required, false otherwise.