# Class WiFiNetwork

java.lang.Object
com.codename1.io.wifi.WiFiNetwork

public final class WiFiNetwork extends Object
One entry in a WiFi scan result. Immutable.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WiFiNetwork(String ssid, String bssid, int rssi, int frequency, WiFiSecurity security)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getBSSID()`
  Access point MAC address (colon-separated lowercase hex).
  `int`
  `getFrequency()`
  Channel frequency in MHz (e.g. 2412 for channel 1 on 2.4 GHz).
  `int`
  `getRssi()`
  Received signal strength in dBm (negative values; closer to zero is stronger).
  `WiFiSecurity`
  `getSecurity()`
  Security mode advertised by the AP.
  `String`
  `getSSID()`
  Human-readable network name.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WiFiNetwork

    public WiFiNetwork(String ssid, String bssid, int rssi, int frequency, WiFiSecurity security)

- ## Method Details

  - ### getSSID

    public String getSSID()
    Human-readable network name. May be empty for hidden networks.

  - ### getBSSID

    public String getBSSID()
    Access point MAC address (colon-separated lowercase hex).

  - ### getRssi

    public int getRssi()
    Received signal strength in dBm (negative values; closer to zero is stronger). Typical range: -30 (excellent) to -90 (unusable).

  - ### getFrequency

    public int getFrequency()
    Channel frequency in MHz (e.g. 2412 for channel 1 on 2.4 GHz).

  - ### getSecurity

    public WiFiSecurity getSecurity()
    Security mode advertised by the AP. See `WiFiSecurity`.