dom/icc/interfaces/nsIDOMIccInfo.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/icc/interfaces/nsIDOMIccInfo.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,70 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "nsISupports.idl"
     1.9 +
    1.10 +[scriptable, uuid(dd9f229c-e5a6-453a-8388-950af0ff9918)]
    1.11 +interface nsIDOMMozIccInfo : nsISupports
    1.12 +{
    1.13 +  /**
    1.14 +   * Integrated Circuit Card Type.
    1.15 +   *
    1.16 +   * Possible values: "sim", "usim", "ruim".
    1.17 +   */
    1.18 +  readonly attribute DOMString iccType;
    1.19 +
    1.20 +  /**
    1.21 +   * Integrated Circuit Card Identifier.
    1.22 +   */
    1.23 +  readonly attribute DOMString iccid;
    1.24 +
    1.25 +  /**
    1.26 +   * Mobile Country Code (MCC) of the subscriber's home network.
    1.27 +   */
    1.28 +  readonly attribute DOMString mcc;
    1.29 +
    1.30 +  /**
    1.31 +   * Mobile Network Code (MNC) of the subscriber's home network.
    1.32 +   */
    1.33 +  readonly attribute DOMString mnc;
    1.34 +
    1.35 +  /**
    1.36 +   * Service Provider Name (SPN) of the subscriber's home network.
    1.37 +   */
    1.38 +  readonly attribute DOMString spn;
    1.39 +
    1.40 +  /**
    1.41 +   * Network name must be a part of displayed carrier name.
    1.42 +   */
    1.43 +  readonly attribute boolean isDisplayNetworkNameRequired;
    1.44 +
    1.45 +  /**
    1.46 +   * Service provider name must be a part of displayed carrier name.
    1.47 +   */
    1.48 +  readonly attribute boolean isDisplaySpnRequired;
    1.49 +};
    1.50 +
    1.51 +[scriptable, uuid(3c237e39-7af3-4748-baf4-4a3b6c3e0e66)]
    1.52 +interface nsIDOMMozGsmIccInfo : nsIDOMMozIccInfo
    1.53 +{
    1.54 +  /**
    1.55 +   * Mobile Station ISDN Number (MSISDN) of the subscriber, aka
    1.56 +   * his phone number.
    1.57 +   */
    1.58 +  readonly attribute DOMString msisdn;
    1.59 +};
    1.60 +
    1.61 +[scriptable, uuid(7e937d09-4d1d-43c5-96d8-c91396022809)]
    1.62 +interface nsIDOMMozCdmaIccInfo : nsIDOMMozIccInfo
    1.63 +{
    1.64 +  /**
    1.65 +   * Mobile Directory Number (MDN) of the subscriber, aka his phone number.
    1.66 +   */
    1.67 +  readonly attribute DOMString mdn;
    1.68 +
    1.69 +  /**
    1.70 +   * Preferred Roaming List (PRL) version of the subscriber.
    1.71 +   */
    1.72 +  readonly attribute long prlVersion;
    1.73 +};

mercurial