WifiManager.ScanResults Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the results of the latest access point scan.
public virtual System.Collections.Generic.IList<Android.Net.Wifi.ScanResult>? ScanResults { [Android.Runtime.Register("getScanResults", "()Ljava/util/List;", "GetGetScanResultsHandler")] get; }
[<get: Android.Runtime.Register("getScanResults", "()Ljava/util/List;", "GetGetScanResultsHandler")>]
member this.ScanResults : System.Collections.Generic.IList<Android.Net.Wifi.ScanResult>
Property Value
the list of access points found in the most recent scan. An app must hold
android.Manifest.permission#ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION
permission
and android.Manifest.permission#ACCESS_WIFI_STATE
permission
in order to get valid results.
<p>
When an Access Point’s beacon or probe response includes a Multi-BSSID Element, the
returned scan results should include separate scan result for each BSSID within the
Multi-BSSID Information Element. This includes both transmitted and non-transmitted BSSIDs.
Original Multi-BSSID Element will be included in the Information Elements attached to
each of the scan results.
Note: This is the expected behavior for devices supporting 11ax (WiFi-6) and above, and an
optional requirement for devices running with older WiFi generations.
</p>
- Attributes
Remarks
Return the results of the latest access point scan.
Java documentation for android.net.wifi.WifiManager.getScanResults()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.