This API is available on Firefox OS for internal applications 仅。

摘要

connected is a read-only property that indicates whether the connection is ready ( true ) 或不 ( false ).

句法

var dataConnection  = navigator.mozMobileConnection.data.connected;
var voiceConnection = navigator.mozMobileConnection.voice.connected;
					

Return a boolean.

规范

Not part of any specification.

另请参阅

元数据

  • 最后修改: