Package 

Class Network


  • 
    public final class Network
    
                        

    Representation of network based on MCC, MNC codes

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Network.Companion
    • Method Summary

      Modifier and Type Method Description
      final String getMcc() Mobile country code, 3 numeric charactersRange: 001..
      final String getMnc() Mobile network code, 2 numeric charactersRange: 01..
      final String getIso() ISO 3166-1 alpha-2 code of country on planet Earth, null if our library does not know such mcc
      final Integer toInt()
      final String toPlmn(String separator)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMcc

         final String getMcc()

        Mobile country code, 3 numeric characters

        Range: 001..999

      • getMnc

         final String getMnc()

        Mobile network code, 2 numeric characters

        Range: 01..99

      • getIso

         final String getIso()

        ISO 3166-1 alpha-2 code of country on planet Earth, null if our library does not know such mcc