java.lang.Object | |
↳ | android.net.wifi.ScanResult |
Describes information about a detected access point. In addition
to the attributes described here, the supplicant keeps track of
quality
, noise
, and maxbitrate
attributes,
but does not currently report them to external clients.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CHANNEL_WIDTH_160MHZ | AP Channel bandwidth is 160 MHZ | |||||||||
int | CHANNEL_WIDTH_20MHZ | AP Channel bandwidth is 20 MHZ | |||||||||
int | CHANNEL_WIDTH_40MHZ | AP Channel bandwidth is 40 MHZ | |||||||||
int | CHANNEL_WIDTH_80MHZ | AP Channel bandwidth is 80 MHZ | |||||||||
int | CHANNEL_WIDTH_80MHZ_PLUS_MHZ | AP Channel bandwidth is 160 MHZ, but 80MHZ + 80MHZ |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BSSID | The address of the access point. | ||||||||||
SSID | The network name. | ||||||||||
capabilities | Describes the authentication, key management, and encryption schemes supported by the access point. | ||||||||||
centerFreq0 | Not used if the AP bandwidth is 20 MHz If the AP use 40, 80 or 160 MHz, this is the center frequency (in MHz) if the AP use 80 + 80 MHz, this is the center frequency of the first segment (in MHz) | ||||||||||
centerFreq1 | Only used if the AP bandwidth is 80 + 80 MHz if the AP use 80 + 80 MHz, this is the center frequency of the second segment (in MHz) | ||||||||||
channelWidth |
AP Channel bandwidth; one of CHANNEL_WIDTH_20MHZ , CHANNEL_WIDTH_40MHZ ,
CHANNEL_WIDTH_80MHZ , CHANNEL_WIDTH_160MHZ
or CHANNEL_WIDTH_80MHZ_PLUS_MHZ .
|
||||||||||
frequency | The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating with the access point. | ||||||||||
level | The detected signal level in dBm, also known as the RSSI. | ||||||||||
operatorFriendlyName | Indicates passpoint operator name published by access point. | ||||||||||
timestamp | timestamp in microseconds (since boot) when this result was last seen. | ||||||||||
venueName | Indicates venue name (such as 'San Francisco Airport') published by access point; only available on passpoint network and if published by access point. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
AP Channel bandwidth is 160 MHZ
AP Channel bandwidth is 20 MHZ
AP Channel bandwidth is 40 MHZ
AP Channel bandwidth is 80 MHZ
AP Channel bandwidth is 160 MHZ, but 80MHZ + 80MHZ
Describes the authentication, key management, and encryption schemes supported by the access point.
Not used if the AP bandwidth is 20 MHz If the AP use 40, 80 or 160 MHz, this is the center frequency (in MHz) if the AP use 80 + 80 MHz, this is the center frequency of the first segment (in MHz)
Only used if the AP bandwidth is 80 + 80 MHz if the AP use 80 + 80 MHz, this is the center frequency of the second segment (in MHz)
AP Channel bandwidth; one of CHANNEL_WIDTH_20MHZ
, CHANNEL_WIDTH_40MHZ
,
CHANNEL_WIDTH_80MHZ
, CHANNEL_WIDTH_160MHZ
or CHANNEL_WIDTH_80MHZ_PLUS_MHZ
.
The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating with the access point.
The detected signal level in dBm, also known as the RSSI.
Use calculateSignalLevel(int, int)
to convert this number into
an absolute signal level which can be displayed to a user.
Indicates passpoint operator name published by access point.
timestamp in microseconds (since boot) when this result was last seen.
Indicates venue name (such as 'San Francisco Airport') published by access point; only available on passpoint network and if published by access point.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.