MozMobileConnectionInfo.type
This API is available on Firefox OS for internal applications only.
Summary
type
is a read-only property that gives the type of connection.
Syntax
JavaScript
Copy Code
var dataType = navigator.mozMobileConnection.data.type; var voiceType = navigator.mozMobileConnection.voice.type;
Value
Return a string.
Possible values are: gsm
, gprs
, edge
, umts
, hsdpa
, evdo0
, evdoa
, evdob
, is95a
, is95b
, 1xrtt
, hsupa
, hspa
, ehrpd
, lte
, hspa+
, etc.
Specification
Not part of any specification.
See also
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/mozmobileconnectioninfo/type