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.

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

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

规范

Not part of any specification.

另请参阅

元数据

  • 最后修改: