WifiManager is the primary Android API for managing all aspects of Wi-Fi connectivity.
WifiManager
is the primary Android API for managing all aspects of Wi-Fi connectivity.
As per the WifiManager
documentation, this class provides access to:
- The list of configured networks. The list can be viewed and updated, and attributes of individual entries can be modified.
- The currently active Wi-Fi network, if any. Connectivity can be established or torn down, and dynamic information about the state of the network can be queried.
- Results of access point scans, containing enough information to make decisions about what access point to connect to.
- It defines the names of various Intent actions that are broadcast upon any sort of change in Wi-Fi state.