-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCellGsm.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integernccprivate final Integerbccprivate final Stringcgiprivate final Networknetworkprivate final Integercidprivate final Integerlacprivate final Integerbsicprivate final BandGsmbandprivate final SignalGsmsignalprivate final IConnectionconnectionStatusprivate final IntegersubscriptionIdprivate final Longtimestamp
-
Method Summary
Modifier and Type Method Description final IntegergetNcc()final IntegergetBcc()final StringgetCgi()NetworkgetNetwork()PLMN of current network, in case of CDMA is can be guessed from other serving cells. final IntegergetCid()16-bit GSM Cell Identity in range from CID_MIN to CID_MAX, null if unavailable final IntegergetLac()16-bit Location Area Code in range from LAC_MIN to LAC_MAX, null if unavailable final IntegergetBsic()6-bit Base Station Identity Code in range from BSIC_MIN to BSIC_MAX. BandGsmgetBand()Band of cell containing downlink & uplink frequencies (if applicable) SignalGsmgetSignal()Signal of this cell IConnectiongetConnectionStatus()Current state of connection to cell - connected and serving or neighbouring. IntegergetSubscriptionId()Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet LonggetTimestamp()Timestamp of this cell data. <T extends Any> Tlet(ICellProcessor<T> processor)Using visitor pattern invokes one method of processor with proper ICell instance. -
-
Method Detail
-
getNetwork
Network getNetwork()
PLMN of current network, in case of CDMA is can be guessed from other serving cells. Generally null for non-serving cells if no postprocessing is done.
-
getConnectionStatus
IConnection getConnectionStatus()
Current state of connection to cell - connected and serving or neighbouring.
-
getSubscriptionId
Integer getSubscriptionId()
Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet
-
getTimestamp
Long getTimestamp()
Timestamp of this cell data. Unit: milliseconds since device boot
-
-
-
-