This version of the documentation is outdated! Click here for the latest released version.
connectionobject gives access to the device's cellular and wifi connection information.
This object is accessed under the
- type: Windows Phone Emulator always reports navigator.network.connection.type is Connection.UNKNOWN
- type: iOS can only report whether the device is on a cellular connection, not of what type, thus it will always report as CELL_2G
- Bada can only report if device is on Wifi or connected to cellular connection CELL_2G ( type not reported )