Package 

Class CellNr

  • All Implemented Interfaces:
    cz.mroczis.netmonster.core.model.cell.ICell

    
    public final class CellNr
     implements ICell
                        
    • 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.

      • getBand

         BandNr getBand()

        Band of cell containing downlink & uplink frequencies (if applicable)

      • getTimestamp

         Long getTimestamp()

        Timestamp of this cell data. Unit: milliseconds since device boot

      • gnbId

         final <ERROR CLASS> gnbId(Integer gnbBitLength)

        NCI can be split into two identifiers - gNodeB ID and cell local id. Depending of the network configuration length of gNB can vary. This method will extract gNB from NCI using provided gnbBitLength which must be in range from GNB_LENGTH_MIN to GNB_LENGTH_MAX. Length is currently not present in Android APIs and you need to obtain it directly from the carrier or other sources.

      • clId

         final <ERROR CLASS> clId(Integer gnbBitLength)

        NCI can be split into two identifiers - gNodeB ID and cell local id. Depending of the network configuration length of gNB can vary. This method will extract cell local id from NCI using provided gnbBitLength which must be in range from GNB_LENGTH_MIN to GNB_LENGTH_MAX. Length is currently not present in Android APIs and you need to obtain it directly from the carrier or other sources.

      • let

         <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