public class WifiScanResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
bssid
The hardware/mac-address of the access point.
|
int |
frequency
The frequency in MHz of the channel used by the access point.
|
int |
rssi
The detected signal strength in dBm.
|
java.lang.String |
ssid
The name of the wifi access point.
|
long |
timestampMs
The timestamp when the scan record was observed in milliseconds since boot.
|
| Constructor and Description |
|---|
WifiScanResult()
Constructs a new
WifiScanResult |
WifiScanResult(java.lang.String ssid,
java.lang.String bssid,
int rssi,
int frequency,
long timestampMs)
Constructs a new
WifiScanResult |
public java.lang.String ssid
public java.lang.String bssid
public int rssi
public int frequency
ScanResultpublic long timestampMs
scanResult.getTimestamp() ScanResultpublic WifiScanResult()
WifiScanResultpublic WifiScanResult(java.lang.String ssid,
java.lang.String bssid,
int rssi,
int frequency,
long timestampMs)
WifiScanResultssid - The name of the wifi access point.bssid - The hardware/mac-address of the access point.rssi - The detected signal strength in dBm.frequency - The frequency in MHz of the channel used by the access point.timestampMs - The timestamp when the scan record was observed in milliseconds since boot.
ScanResult ScanResult