WifiUtils icon indicating copy to clipboard operation
WifiUtils copied to clipboard

Does this util have some way to judgment scan success or fail?

Open ALuoBo opened this issue 4 years ago • 1 comments

Android api told scanWifi maybe failed , and this time will return old scan result , So does this util have some way to judgment scan success or fail? : )?

ALuoBo avatar Jun 16 '21 09:06 ALuoBo

PS:

  • boolean scanStartSuccess = wifiManager.startScan();// scanStartSuccess
  • boolean scanSuccess = intent.getBooleanExtra( WifiManager.EXTRA_RESULTS_UPDATED, false);

ALuoBo avatar Jun 17 '21 02:06 ALuoBo