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.
Summary
Constants
Fields
public |
|
|
String |
BSSID |
The address of the access point. |
public |
|
|
String |
SSID |
The network name. |
public |
|
|
String |
capabilities |
Describes the authentication, key management, and encryption schemes
supported by the access point. |
public |
|
|
int |
frequency |
The frequency in MHz of the channel over which the client is communicating
with the access point. |
public |
|
|
int |
level |
The detected signal level in dBm. |
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
Implement the Parcelable interface
Fields
public
String
BSSID
The address of the access point.
public
String
capabilities
Describes the authentication, key management, and encryption schemes
supported by the access point.
TODO: Parse this info into a WifiConfiguration.
public
int
frequency
The frequency in MHz of the channel over which the client is communicating
with the access point.
public
int
level
The detected signal level in dBm. At least those are the units used by
the TI driver.
Public Constructors
public
ScanResult(String SSID, String BSSID, String caps, int level, int frequency)
We'd like to obtain the following attributes,
but they are not reported via the socket
interface, even though they are known
internally by wpa_supplicant.
Public Methods
public
int
describeContents()
Implement the Parcelable interface
public
String
toString()
Returns a string containing a concise, human-readable description of the
receiver.
Returns
- String a printable representation for the receiver.
public
void
writeToParcel(Parcel dest, int flags)
Implement the Parcelable interface