Network Data and Metrics
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns Future<bool>
Checks if the device has necessary features to send and receive SMS.
Returns Future<>
Returns a constant indicating the current data connection state (cellular).
Returns Future<>
Returns a constant that represents the current state of all phone calls.
Returns a constant indicating the type of activity on a data connection (cellular).
Returns Future<String>
Returns the numeric name (MCC+MNC) of current registered operator.
Availability: Only when user is registered to a network.
Returns Future<String>
Returns the alphabetic name of current registered operator.
Availability: Only when user is registered to a network.
Requires READ_PHONE_STATE
permission.
Add the following in your AndroidManifest.xml
Returns a constant indicating the radio technology (network type) currently in use on the device for data transmission.
Returns a constant indicating the device phone type. This indicates the type of radio used to transmit voice calls.
Returns Future<String>
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.
Returns Future<String>
Returns the Service Provider Name (SPN).
Returns a constant indicating the state of the default SIM card.
Returns Future<bool>
Returns true if the device is considered roaming on the current network, for GSM purposes.
Availability: Only when user registered to a network.
Requires Android build version 29 --> Android Q
Requires Android build version 26 --> Android O
Requires permissions ACCESS_COARSE_LOCATION
and READ_PHONE_STATE
Add the following in your AndroidManifest.xml
Returns current voice service state.
Values
DISCONNECTED
CONNECTING
CONNECTED
SUSPENDED
UNKNOWN
Values
IDLE
RINGING
OFFHOOK
Values
NONE
IN
OUT
INOUT
DORMANT
Values
UNKNOWN
GPRS
EDGE
UMTS
CDMA
EVDO_0
EVDO_A
TYPE_1xRTT
HSDPA
HSUPA
HSPA
IDEN
EVDO_B
LTE
EHRPD
HSPAP
GSM
TD_SCDMA
IWLAN
LTE_CA
NR
Values
NONE
GSM
CDMS
SIP
Values
UNKNOWN
ABSENT
PIN_REQUIRED
PUK_REQUIRED
NETWORK_LOCKED
READY
NOT_READY
PERM_DISABLED
CARD_IO_ERROR
CARD_RESTRICTED
LOADED
PRESENT
Values
NONE_OR_UNKNOWN
POOR
MODERATE
GOOD
GREAT
Values
IN_SERVICE
OUT_OF_SERVICE
EMERGENCY_ONLY
POWER_OFF
Returns Future<>
Result may be unreliable on CDMA networks (use to determine if on a CDMA network).
Result may be unreliable on CDMA networks (use to determine if on a CDMA network).
Returns Future<>
Returns Future<>
Availability: must be SIM_STATE_READY
Availability: must be SIM_STATE_READY
Returns Future<>
Returns Future<List<>>
Returns a List of or an empty List if there are no valid measurements.
Returns Future<>