# android.net.wifi

# android.net.wifi

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/net/wifi/package-summary "View this page in Java")

## Interfaces

|----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| [LocalOnlyConnectionFailureListener](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.LocalOnlyConnectionFailureListener)     | Interface for local-only connection failure listener.                                    |
| [SuggestionConnectionStatusListener](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.SuggestionConnectionStatusListener)     | Interface for suggestion connection status listener.                                     |
| [SuggestionUserApprovalStatusListener](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.SuggestionUserApprovalStatusListener) | Interface for network suggestion user approval status change listener.                   |
| [WifiStateChangedListener](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager.WifiStateChangedListener)                         | Listener interface for applications to be notified when the Wi-Fi enabled state changes. |

## Classes

|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [BlockingOption](https://developer.android.com/reference/kotlin/android/net/wifi/BlockingOption)                       | Options for blocking a network through[WifiManager.disallowCurrentSuggestedNetwork(BlockingOption)](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager#disallowCurrentSuggestedNetwork(android.net.wifi.BlockingOption)) |
| [EasyConnectStatusCallback](https://developer.android.com/reference/kotlin/android/net/wifi/EasyConnectStatusCallback) | Easy Connect (DPP) Status Callback.                                                                                                                                                                                                               |
| [MloLink](https://developer.android.com/reference/kotlin/android/net/wifi/MloLink)                                     | Data structure class representing a Wi-Fi Multi-Link Operation (MLO) link This is only used by 802.                                                                                                                                               |
| [ScanResult](https://developer.android.com/reference/kotlin/android/net/wifi/ScanResult)                               | Describes information about a detected access point.                                                                                                                                                                                              |
| [SoftApConfiguration](https://developer.android.com/reference/kotlin/android/net/wifi/SoftApConfiguration)             | Configuration for a soft access point (a.k.a. Soft AP, SAP, Hotspot).                                                                                                                                                                             |
| [WifiAvailableChannel](https://developer.android.com/reference/kotlin/android/net/wifi/WifiAvailableChannel)           | Contains information about a Wifi channel and bitmask of Wifi operational modes allowed on that channel.                                                                                                                                          |
| [WifiConfiguration](https://developer.android.com/reference/kotlin/android/net/wifi/WifiConfiguration)                 | A class representing a configured Wi-Fi network, including the security configuration.                                                                                                                                                            |
| [WifiEnterpriseConfig](https://developer.android.com/reference/kotlin/android/net/wifi/WifiEnterpriseConfig)           | Enterprise configuration details for Wi-Fi.                                                                                                                                                                                                       |
| [WifiInfo](https://developer.android.com/reference/kotlin/android/net/wifi/WifiInfo)                                   | Describes the state of any Wi-Fi connection that is active or is in the process of being set up.                                                                                                                                                  |
| [WifiManager](https://developer.android.com/reference/kotlin/android/net/wifi/WifiManager)                             | This class provides the primary API for managing all aspects of Wi-Fi connectivity.                                                                                                                                                               |
| [WifiNetworkSpecifier](https://developer.android.com/reference/kotlin/android/net/wifi/WifiNetworkSpecifier)           | Network specifier object used to request a Wi-Fi network.                                                                                                                                                                                         |
| [WifiNetworkSuggestion](https://developer.android.com/reference/kotlin/android/net/wifi/WifiNetworkSuggestion)         | The Network Suggestion object is used to provide a Wi-Fi network for consideration when auto-connecting to networks.                                                                                                                              |
| [WifiSsid](https://developer.android.com/reference/kotlin/android/net/wifi/WifiSsid)                                   | Representation of a Wi-Fi Service Set Identifier (SSID).                                                                                                                                                                                          |
| [WpsInfo](https://developer.android.com/reference/kotlin/android/net/wifi/WpsInfo)                                     | A class representing Wi-Fi Protected Setup {@see android.                                                                                                                                                                                         |

## Enums

|----------------------------------------------------------------------------------------------------|------|
| [SupplicantState](https://developer.android.com/reference/kotlin/android/net/wifi/SupplicantState) | From |