Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

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

Open
ALuoBo opened this issue Jun 16, 2021 · 1 comment
Open

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

ALuoBo opened this issue Jun 16, 2021 · 1 comment

Comments

@ALuoBo
Copy link

ALuoBo commented Jun 16, 2021

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
Copy link
Author

ALuoBo commented Jun 17, 2021

PS:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant