How to get scan result from wifi for example every 3 seconds, without mWifimanager.startScan();
mWifimanager.startScan();
Google says :
startScan() This method was
I think google is planning to restrict application from scanning wifi.
This method was deprecated in API level 28. The ability for apps to trigger scan requests will be removed in a future release. Check the documentation here.