Package 

Interface ICell

    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> T let(ICellProcessor<T> processor) Using visitor pattern invokes one method of processor with proper ICell instance.
      abstract Integer getSubscriptionId() Subscription id into which cell is bound to, Int.MAX_VALUE if subscriptions are not supported yet
      abstract IConnection getConnectionStatus() Current state of connection to cell - connected and serving or neighbouring.
      abstract IBand getBand() Band of cell containing downlink & uplink frequencies (if applicable)
      abstract ISignal getSignal() Signal of this cell
      abstract Network getNetwork() PLMN of current network, in case of CDMA is can be guessed from other serving cells.
      abstract Long getTimestamp() Timestamp of this cell data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • 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