Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

ScanResult

extends Object
implements Parcelable
java.lang.Object
   ↳ android.net.wifi.ScanResult

Class Overview

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

[Expand]
Inherited Constants
From interface android.os.Parcelable
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 long timestamp Time Synchronization Function (tsf) timestamp in microseconds when this result was last seen.
Public Methods
String toString ()
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

Fields

public String BSSID

Added in API level 1

The address of the access point.

public String SSID

Added in API level 1

The network name.

public String capabilities

Added in API level 1

Describes the authentication, key management, and encryption schemes supported by the access point.

public int frequency

Added in API level 1

The frequency in MHz of the channel over which the client is communicating with the access point.

public int level

Added in API level 1

The detected signal level in dBm. At least those are the units used by the TI driver.

public long timestamp

Time Synchronization Function (tsf) timestamp in microseconds when this result was last seen.

Public Methods

public String toString ()

Added in API level 1

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.

Returns
  • a printable representation of this object.