This API is available on Firefox OS for internal applications only.
Summary
connected is a read-only property that indicates whether the connection is ready (true) or not (false).
Syntax
var dataConnection = navigator.mozMobileConnection.data.connected; var voiceConnection = navigator.mozMobileConnection.voice.connected;
Value
Return a boolean.
Specification
Not part of any specification.