This API is available on Firefox OS for internal applications 仅。
type
is a read-only property that gives the type of connection.
var dataType = navigator.mozMobileConnection.data.type; var voiceType = navigator.mozMobileConnection.voice.type;
Return a string.
Possible values are:
gsm
,
gprs
,
edge
,
umts
,
hsdpa
,
evdo0
,
evdoa
,
evdob
,
is95a
,
is95b
,
1xrtt
,
hsupa
,
hspa
,
ehrpd
,
lte
,
hspa+
,等。
Not part of any specification.
Archive
CFStateChangeEvent
DataErrorEvent
IccCardLockError
IccCardLockErrorEvent
MozCellBroadcastEvent
MozEmergencyCbModeEvent
MozIccManager
MozMobileCFInfo
MozMobileCellInfo
MozMobileConnection
MozMobileConnectionInfo
MozMobileICCInfo
MozMobileNetworkInfo
MozOtaStatusEvent
MozStkCommandEvent
USSDReceivedEvent