wifi列表< scanresult>信息批次
抱歉,这个问题可能很容易/令人困惑,因为我是Java和Android Studio的新手。
Android.net.wifi.ScanResult类具有SSID/BSSID字段,该字段通过调用ScanResult.SSID来提供扫描访问点的信息。
但是,如果我创建List = Scanresults,我应该如何访问列表中每个扫描的信息? 太感谢了。
有关Scanresult和RangingRequest的信息可以在此处找到。 https://developer.android.com/reference/android/net/wifi/scanresult?hl= en#getInformationlements() https://developer.android.com/static/reference/android/net/wifi/rtt/rangingrequest.builder#addaccesspoints
Sorry this question might be easy/confusing because I'm new to Java and Android Studio.
The android.net.wifi.ScanResult class has fields SSID/BSSID that gives the information of the scanned access point by calling ScanResult.SSID.
However, if I create List = scanresults, how should I access the information of each ScanResult in the list?
Thank you so much.
Information regarding ScanResult and RangingRequest could be found here.
https://developer.android.com/reference/android/net/wifi/ScanResult?hl=en#getInformationElements()
https://developer.android.com/static/reference/android/net/wifi/rtt/RangingRequest.Builder#addaccesspoints
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用以下代码访问列表中的每个扫描
You can use below code to Access each Scanresult in the list