This API is available on Firefox OS for internal applications 仅。

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

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

特性

MozMobileICCInfo.iccid 只读

A string representing the Integrated Circuit Card Identifier.

MozMobileICCInfo.isDisplayNetworkNameRequired 只读

A boolean that indicates the Network name must be a part of any displayed carrier name.

MozMobileICCInfo.isDisplaySpnRequired 只读

A boolean that indicates the Service provider name must be a part of any displayed carrier name.

MozMobileICCInfo.mcc 只读
A number representing the Mobile Country Code (MCC) of the subscriber's home network.
MozMobileICCInfo.mnc 只读
A number representing the Mobile Network Code (MNC) of the subscriber's home network.
MozMobileICCInfo.msisdn 只读
A string representing the Mobile Station ISDN Number (MSISDN) of the subscriber's, aka his phone number.
MozMobileICCInfo.spn 只读

A string representing the Service Provider Name (SPN) of the subscriber's home network.

方法

None.

规范

Not part of any specification

另请参阅

元数据

  • 最后修改: