-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCellWcdma.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integercidprivate final Integerrncprivate final Stringcgiprivate final Networknetworkprivate final Integerciprivate final Integerlacprivate final Integerpscprivate final BandWcdmabandprivate final SignalWcdmasignalprivate final IConnectionconnectionStatusprivate final IntegersubscriptionIdprivate final Longtimestamp
-
Constructor Summary
Constructors Constructor Description CellWcdma(Network network, Integer ci, Integer lac, Integer psc, BandWcdma band, SignalWcdma signal, IConnection connectionStatus, Integer subscriptionId, Long timestamp)
-
Method Summary
Modifier and Type Method Description final IntegergetCid()final IntegergetRnc()final StringgetCgi()NetworkgetNetwork()PLMN of current network, in case of CDMA is can be guessed from other serving cells. final IntegergetCi()28-bit WCDMA 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 IntegergetPsc()9-bit Primary Scrambling Code in range from PSC_MIN to PSC_MAX, null if unavailable BandWcdmagetBand()Band of cell containing downlink & uplink frequencies (if applicable) SignalWcdmagetSignal()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. -
-
Constructor Detail
-
CellWcdma
CellWcdma(Network network, Integer ci, Integer lac, Integer psc, BandWcdma band, SignalWcdma signal, IConnection connectionStatus, Integer subscriptionId, Long timestamp)
-
-
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.
-
getSignal
SignalWcdma getSignal()
Signal of this cell
-
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
-
-
-
-