Reputation: 1331
Is it possible to stop wifi scan started with wifiMgr.startScan() ? I browse some posts and read about using thread to give intervals between each result delivery. But if I want to completely stop the process, how can I achieve it?
Upvotes: 10
Views: 9306
Reputation: 1
I have found abortBroadcast(); to work. The strange thing is that I did not need to stop it initially as it only ran once each time I called startscan.
Upvotes: 0
Reputation: 1331
I found the answer a few days ago. Simply unregister the receiver. I don't know if it is the best way to go, but it works.
Upvotes: 17