hasAdvertisePermissions

Checks if the app has the necessary permissions to perform BLE advertising.

Return

True if the advertise permission is granted, or if running on older Android versions.

Parameters

context

The application context.