Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

MozMobileConnectionInfo.connected

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.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, MHasan, kscarfone, Sheppy, Jeremie
 Last updated by: chrisdavidmills,