-
public interface ICell
-
-
Method Summary
Modifier and Type Method Description abstract <T extends Any> Tlet(ICellProcessor<T> processor)Using visitor pattern invokes one method of processor with proper ICell instance. abstract IntegergetSubscriptionId()Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet abstract IConnectiongetConnectionStatus()Current state of connection to cell - connected and serving or neighbouring. abstract IBandgetBand()Band of cell containing downlink & uplink frequencies (if applicable) abstract ISignalgetSignal()Signal of this cell abstract NetworkgetNetwork()PLMN of current network, in case of CDMA is can be guessed from other serving cells. abstract LonggetTimestamp()Timestamp of this cell data. -
-
Method Detail
-
let
abstract <T extends Any> T let(ICellProcessor<T> processor)
Using visitor pattern invokes one method of processor with proper ICell instance.
Use this to map NetMonster's instances into yours.
- Parameters:
processor- class that manages transformation from this object to another
-
getSubscriptionId
abstract Integer getSubscriptionId()
Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet
-
getConnectionStatus
abstract IConnection getConnectionStatus()
Current state of connection to cell - connected and serving or neighbouring.
-
getBand
abstract IBand getBand()
Band of cell containing downlink & uplink frequencies (if applicable)
-
getNetwork
abstract 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.
-
getTimestamp
abstract Long getTimestamp()
Timestamp of this cell data. Unit: milliseconds since device boot
-
-
-
-