window.wifi.lan;//Connected WiFi infowindow.wifi.networks;//Array of the visible WiFi networks
Example 2
window.wifi.refresh();//takes an optional callback. //NOTE: If you need to react to changes in SSID/IP, you need to send in a callback
Changelog
2014/4/29
Listening for cordova connect was causing conflicts with NetworkConnection plugin. Removed and simply call wifi.refresh() when network connection state changes in the network connect plugin.