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,