Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant