This API is available on Firefox OS for internal applications 仅。
data
is a read-only property that gives access to information about the device's data connection.
var connection = navigator.mozMobileConnection.data
返回
MozMobileConnectionInfo
object describing the data connection
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent