This API is available on Firefox OS for internal applications 仅。
state
is a read-only property that gives the state of the network operator.
var operator = navigator.mozMobileConnection.data.network.state
Return an enum MobileNetworkState object.
If the state of the network operator is unknown, this property is
null
.
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent