MozMobileICCInfo

Non-standard
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

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 overview

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;
};

Properties

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.

Methods

None.

Specification

Not part of any specification

See also

Document Tags and Contributors

Contributors to this page: teoli, MHasan, kscarfone, justinpotts, Sheppy, Jeremie
Last updated by: teoli,