nsIMobileConnectionInfo

Attributes

state

State of the connection.

Possible values: ‘notSearching’, ‘searching’, ‘denied’, ‘registered’ or
null (unknown).

connected

Indicates whether the connection is ready.

Note: The meaning of “connection ready” for data and voice are different.
- Data: the “default” data connection is established or not.
- Voice: voice is registered to network or not.

emergencyCallsOnly

Indicates whether only emergency calls are possible.

This flag is only relevant to voice connections and when ‘connected’ is
false.

roaming

Indicates whether the connection is going through a foreign operator
(roaming) or not.

network

Network operator information.

type

Type of connection.

Possible values: ‘gsm’, ‘gprs’, ‘edge’, ‘umts’, ‘hsdpa’, ‘hsupa’, ‘hspa’,
‘hspa+’, ‘is95a’, ‘is95b’, ‘1xrtt’, ‘evdo0’, ‘evdoa’,
‘evdob’, ‘ehrpd’, ‘lte’ or null (unknown).

signalStrength

Signal strength in dBm, or null if no service is available.

relSignalStrength

Signal strength, represented linearly as a number between 0 (weakest
signal) and 100 (full signal).

cell

Cell location information.