dom/webidl/MozMobileConnection.webidl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/webidl/MozMobileConnection.webidl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,82 @@
     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 +
     1.9 +dictionary MozCallBarringOption
    1.10 +{
    1.11 +  /**
    1.12 +   * Indicates the program the call is being barred.
    1.13 +   *
    1.14 +   * It shall be one of the nsIDOMMozMobileConnection.CALL_BARRING_PROGRAM_*
    1.15 +   * values.
    1.16 +   */
    1.17 +   unsigned short program;
    1.18 +
    1.19 +  /**
    1.20 +   * Enable or disable the call barring program.
    1.21 +   */
    1.22 +  boolean enabled;
    1.23 +
    1.24 +  /**
    1.25 +   * Barring password. Use "" if no password specified.
    1.26 +   */
    1.27 +  DOMString password;
    1.28 +
    1.29 +  /**
    1.30 +   * Service for which the call barring is set up.
    1.31 +   *
    1.32 +   * It shall be one of the nsIDOMMozMobileConnection.ICC_SERVICE_CLASS_*
    1.33 +   * values.
    1.34 +   */
    1.35 +  unsigned short serviceClass;
    1.36 +};
    1.37 +
    1.38 +dictionary DOMMMIResult
    1.39 +{
    1.40 +  /**
    1.41 +   * String key that identifies the service associated with the MMI code
    1.42 +   * request. The UI is supposed to handle the localization of the strings
    1.43 +   * associated with this string key.
    1.44 +   */
    1.45 +  DOMString serviceCode;
    1.46 +
    1.47 +  /**
    1.48 +   * String key containing the status message of the associated MMI request.
    1.49 +   * The UI is supposed to handle the localization of the strings associated
    1.50 +   * with this string key.
    1.51 +   */
    1.52 +  DOMString statusMessage;
    1.53 +
    1.54 +  /**
    1.55 +   * Some MMI requests like call forwarding or PIN/PIN2/PUK/PUK2 related
    1.56 +   * requests provide extra information along with the status message, this
    1.57 +   * information can be a number, a string key or an array of string keys.
    1.58 +   */
    1.59 +  any additionalInformation;
    1.60 +};
    1.61 +
    1.62 +dictionary DOMCLIRStatus
    1.63 +{
    1.64 +  /**
    1.65 +   * CLIR parameter 'n': parameter sets the adjustment for outgoing calls.
    1.66 +   *
    1.67 +   * 0 Presentation indicator is used according to the subscription of the
    1.68 +   *   CLIR service (uses subscription default value).
    1.69 +   * 1 CLIR invocation (restricts CLI presentation).
    1.70 +   * 2 CLIR suppression (allows CLI presentation).
    1.71 +   */
    1.72 +  unsigned short n;
    1.73 +
    1.74 +  /**
    1.75 +   * CLIR parameter 'm': parameter shows the subscriber CLIR service status in
    1.76 +   *                     the network.
    1.77 +   * 0 CLIR not provisioned.
    1.78 +   * 1 CLIR provisioned in permanent mode.
    1.79 +   * 2 unknown (e.g. no network, etc.).
    1.80 +   * 3 CLIR temporary mode presentation restricted.
    1.81 +   *
    1.82 +   * @see 3GPP TS 27.007 7.7 Defined values
    1.83 +   */
    1.84 +  unsigned short m;
    1.85 +};

mercurial