Confirmed users
978
edits
m (→Primary SIMs) |
|||
| Line 26: | Line 26: | ||
*[https://wiki.mozilla.org/WebAPI/WebIccManager/Multi-SIM MozIccManagerAPI] | *[https://wiki.mozilla.org/WebAPI/WebIccManager/Multi-SIM MozIccManagerAPI] | ||
:It is taking care of all the SIM/IC cards. '''navigator.mozIccManager.iccIds.length''' shows the number of ICCs on the device. | :It is taking care of all the SIM/IC cards. '''navigator.mozIccManager.iccIds.length''' shows the number of ICCs on the device. This number isn't necessary equal to the number of services, i.e. navigator.mozMobileConnections.length. | ||
:With the iccId obtained from every service, i.e. nsIDOMMozMobileConnection.iccId, API user could acquire details about the ICC via IccManager API. For example, | :With the iccId obtained from every service, i.e. nsIDOMMozMobileConnection.iccId, API user could acquire details about the ICC via IccManager API. For example, | ||
| Line 32: | Line 32: | ||
:: var mcc = icc.mcc; | :: var mcc = icc.mcc; | ||
:: var mnc = icc.mnc; | :: var mnc = icc.mnc; | ||
Please refer to [https://wiki.mozilla.org/WebAPI/WebIccManager/Multi-SIM MozMobileConnectionAPI] to have more details and use cases. | |||
==== Primary SIMs ==== | ==== Primary SIMs ==== | ||