• Skip to main content
  • Select language
  • Skip to search
mozilla
Mozilla Developer Network
  • Sign in
    • Persona
    • GitHub
  • Web Platform
    Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • APIs / DOM
    • Apps
    • MathML
    References & Guides
    • Learn the Web
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • ...more docs
  • Mozilla Docs
    • Add-ons
    • Firefox
    • Firefox Marketplace
    • Firefox OS
    • Persona
  • Developer Tools
  • Feedback
    • Get Firefox help
    • Get web development help
    • Join the MDN community
    • Report a content problem
    • Report a bug
  •  
B2G OS
    • No translations exist for this article.
    • Add a translation
  • Edit
  • Advanced
    • History
    • Print this article
  1. MDN
  2. Mozilla
  3. B2G OS
  4. Firefox OS APIs
  5. MozMobileICCInfo
Your Search Results

    MozMobileICCInfo

    In This Article
    1. Interface overview
    2. Properties
    3. Methods
    4. Specification
    5. See also

    This API is available on Firefox OS for internal applications only.

    The MozMobileICCInfo interface allow to access access to information stored in the device's ICC card. The navigator.mozMobileConnection uses it through its iccInfo property.

    Interface overviewEdit

    interface MozMobileICCInfo
    {
      readonly attribute DOMString iccid;
      readonly attribute boolean isDisplayNetworkNameRequired;
      readonly attribute boolean isDisplaySpnRequired;
      readonly attribute unsigned short mcc;
      readonly attribute unsigned short mnc;
      readonly attribute DOMString msisdn;
      readonly attribute DOMString spn;
    };

    PropertiesEdit

    MozMobileICCInfo.iccid Read only
    A string representing the Integrated Circuit Card Identifier.
    MozMobileICCInfo.isDisplayNetworkNameRequired Read only
    A boolean that indicates the Network name must be a part of any displayed carrier name.
    MozMobileICCInfo.isDisplaySpnRequired Read only
    A boolean that indicates the Service provider name must be a part of any displayed carrier name.
    MozMobileICCInfo.mcc Read only
    A number representing the Mobile Country Code (MCC) of the subscriber's home network.
    MozMobileICCInfo.mnc Read only
    A number representing the Mobile Network Code (MNC) of the subscriber's home network.
    MozMobileICCInfo.msisdn Read only
    A string representing the Mobile Station ISDN Number (MSISDN) of the subscriber's, aka his phone number.
    MozMobileICCInfo.spn Read only
    A string representing the Service Provider Name (SPN) of the subscriber's home network.

    MethodsEdit

    None.

    SpecificationEdit

    Not part of any specification

    See alsoEdit

    • MozMobileICCInfo
    • MozMobileNetworkInfo
    Share:
    • Twitter
    • Facebook
    • Google+

    Document Tags and Contributors

    Tags: 
    • API
    • B2G
    • Firefox OS
    • Mobile
    • Non-standard
    • Reference
    • Référence
     Contributors to this page: chrisdavidmills, teoli, MHasan, kscarfone, justinpotts, Sheppy, Jeremie
     Last updated by: chrisdavidmills, Feb 11, 2016, 6:06:09 AM
    See also
    1. Mobile Connection API
    2. MozMobileCCInfo
    3. Properties
      1. iccid
      2. isDisplayNetworkNameRequired
      3. isDisplaySpnRequired
      4. mcc
      5. mnc
      6. msisdn
      7. spn
    4. Events
      1. icccardlockerror
      2. cardstatechange
    5. Related pages for Mobile Connection API
      1. CFStateChangeEvent
      2. DataErrorEvent
      3. IccCardLockError
      4. IccCardLockErrorEvent
      5. MozCellBroadcastEvent
      6. MozEmergencyCbModeEvent
      7. MozIccManager
      8. MozMobileCFInfo
      9. MozMobileCellInfo
      10. MozMobileConnection
      11. MozMobileConnectionInfo
      12. MozMobileICCInfo
      13. MozMobileNetworkInfo
      14. MozOtaStatusEvent
      15. MozStkCommandEvent
      16. USSDReceivedEvent

    © 2005-2016 Mozilla Developer Network and individual contributors.

    Content is available under these licenses.

    • About MDN
    • Terms
    • Privacy
    • Cookies
    • Contribute to the code

    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy
    BESbswy