Missing method in android.net.wifi.WifiManager

前端 未结 3 2038
南方客
南方客 2021-01-19 08:20

On the site androidjavadoc.com, a method startScanActive is listed in the class WifiManager that makes it possible to perform an active wi-fi scan.

3条回答
  •  感动是毒
    2021-01-19 08:32

    As I mentioned, look at the official documentation. It's not there. As such, it's not part of the public API, and you should not call it. Even if it's public, it doesn't mean that you can call it.

    Undocumented API calls can disappear without notice at any time in future versions, which will cause your app to break.

提交回复
热议问题