dom/icc/interfaces/nsIDOMIccInfo.idl

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:7480c8c731d1
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 #include "nsISupports.idl"
6
7 [scriptable, uuid(dd9f229c-e5a6-453a-8388-950af0ff9918)]
8 interface nsIDOMMozIccInfo : nsISupports
9 {
10 /**
11 * Integrated Circuit Card Type.
12 *
13 * Possible values: "sim", "usim", "ruim".
14 */
15 readonly attribute DOMString iccType;
16
17 /**
18 * Integrated Circuit Card Identifier.
19 */
20 readonly attribute DOMString iccid;
21
22 /**
23 * Mobile Country Code (MCC) of the subscriber's home network.
24 */
25 readonly attribute DOMString mcc;
26
27 /**
28 * Mobile Network Code (MNC) of the subscriber's home network.
29 */
30 readonly attribute DOMString mnc;
31
32 /**
33 * Service Provider Name (SPN) of the subscriber's home network.
34 */
35 readonly attribute DOMString spn;
36
37 /**
38 * Network name must be a part of displayed carrier name.
39 */
40 readonly attribute boolean isDisplayNetworkNameRequired;
41
42 /**
43 * Service provider name must be a part of displayed carrier name.
44 */
45 readonly attribute boolean isDisplaySpnRequired;
46 };
47
48 [scriptable, uuid(3c237e39-7af3-4748-baf4-4a3b6c3e0e66)]
49 interface nsIDOMMozGsmIccInfo : nsIDOMMozIccInfo
50 {
51 /**
52 * Mobile Station ISDN Number (MSISDN) of the subscriber, aka
53 * his phone number.
54 */
55 readonly attribute DOMString msisdn;
56 };
57
58 [scriptable, uuid(7e937d09-4d1d-43c5-96d8-c91396022809)]
59 interface nsIDOMMozCdmaIccInfo : nsIDOMMozIccInfo
60 {
61 /**
62 * Mobile Directory Number (MDN) of the subscriber, aka his phone number.
63 */
64 readonly attribute DOMString mdn;
65
66 /**
67 * Preferred Roaming List (PRL) version of the subscriber.
68 */
69 readonly attribute long prlVersion;
70 };

mercurial