verify Permissions
@RequiresPermission(allOf = ["android.permission.BLUETOOTH", "android.permission.BLUETOOTH_ADMIN", "android.permission.ACCESS_FINE_LOCATION" ] )
Checks if the following permissions are granted: permission.BLUETOOTH, permission.BLUETOOTH_ADMIN and permission.ACCESS_FINE_LOCATION
If any of these isn't granted, automatically requests it to the user
Return
True when all the permissions are granted
Parameters
rationale Request Callback
Called when rationale permission is required, should explain on the UI why the permissions are needed and then re-call this method
See also
For a variation using callbacks