updateWifiNetwork

@MinApiLevel(value = 8)
public boolean updateWifiNetwork(EsperWifiConfiguration config, boolean attemptConnect)

Updates a saved Wi-Fi network that matches config's SSID. EsperWifiConfiguration must fully describe IP and proxy settings for L3: omitted ip_configuration / proxy are applied as DHCP and no proxy (same as addWifiNetwork), not merged with existing values.

Return

true if a matching configured network was found and updated

Parameters

attemptConnect

if true, attempts to connect to the network after a successful update