verify Permissions Async
@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
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
callback
Called with a boolean parameter indicating the permission request state
See also
For a variation using coroutines suspended functions