WifiDevice: Provides methods for obtaining Wi-Fi status and information,
such as checking whether Wi-Fi is enabled,
obtaining the list of information about access points detected in a Wi-Fi scan,
and checking whether a Wi-Fi connection has been set up.WifiLinkedInfo: Provides information about the peer hotspot connected to the current device,
such as SSID, BSSID, and RSSI of the peer hotspot.WifiScanInfo: Stores information about the scanned Wi-Fi hotspot,
such as SSID and BSSID.IpInfo: Provides information about a Wi-Fi connection that has been set up,
such as the IP address, gateway address, and DNS server address.WifiEvents: Provides the constants used for Wi-Fi management,
such as the broadcast name, encryption mode, and frequency band.| 类 | 说明 |
|---|---|
| IpInfo |
Provides IP information of a Wi-Fi connection.
|
| WifiDevice |
Provides interfaces to manage Wi-Fi.
|
| WifiDeviceConfig |
Provides the configuration of a Wi-Fi access point.
|
| WifiEvents |
Provides parameters for Wi-Fi interfaces.
|
| WifiLinkedInfo |
Provides information about a Wi-Fi connection.
|
| WifiScanInfo |
Obtains detailed information of a Wi-Fi access point detected by Wi-Fi scanning.
|
| WifiSecurity |
Provides security parameters for Wi-Fi interfaces.
|
| WifiUtils |
Provides common parameters and util functions for Wi-Fi interfaces.
|
| 枚举 | 说明 |
|---|---|
| WifiLinkedInfo.ConnState |
Enumerates the Wi-Fi connection states.
|
| WifiSecurity.EapMethod |
Indicates the EAP methods, including
NONE, PEAP, TLS, TTLS,
PWD, SIM, AKA, AKA_PRIME, and UNAUTH_TLS. |
| WifiSecurity.Phase2Method |
Indicates the inner authentication methods, including
NONE, PAP, MSCHAP,
MSCHAPV2, GTC, SIM, AKA, and AKA_PRIME. |