dom/icc/interfaces/nsIDOMIccInfo.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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/. */
     5 #include "nsISupports.idl"
     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;
    17   /**
    18    * Integrated Circuit Card Identifier.
    19    */
    20   readonly attribute DOMString iccid;
    22   /**
    23    * Mobile Country Code (MCC) of the subscriber's home network.
    24    */
    25   readonly attribute DOMString mcc;
    27   /**
    28    * Mobile Network Code (MNC) of the subscriber's home network.
    29    */
    30   readonly attribute DOMString mnc;
    32   /**
    33    * Service Provider Name (SPN) of the subscriber's home network.
    34    */
    35   readonly attribute DOMString spn;
    37   /**
    38    * Network name must be a part of displayed carrier name.
    39    */
    40   readonly attribute boolean isDisplayNetworkNameRequired;
    42   /**
    43    * Service provider name must be a part of displayed carrier name.
    44    */
    45   readonly attribute boolean isDisplaySpnRequired;
    46 };
    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 };
    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;
    66   /**
    67    * Preferred Roaming List (PRL) version of the subscriber.
    68    */
    69   readonly attribute long prlVersion;
    70 };

mercurial