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

MozMobileNetworkInfo.state

This API is available on Firefox OS for internal applications only.

Summary

The state is a read-only property that gives the state of the network operator.

Syntax

var operator = navigator.mozMobileConnection.data.network.state

Value

Return an enum MobileNetworkState object.

  • enum MobileNetworkState {"available", "connected", "forbidden"};

If the state of the network operator is unknown, this property is null.

Specification

Not part of any specification.

See also

Document Tags and Contributors

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