dom/webidl/MozMobileConnection.webidl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     6 dictionary MozCallBarringOption
     7 {
     8   /**
     9    * Indicates the program the call is being barred.
    10    *
    11    * It shall be one of the nsIDOMMozMobileConnection.CALL_BARRING_PROGRAM_*
    12    * values.
    13    */
    14    unsigned short program;
    16   /**
    17    * Enable or disable the call barring program.
    18    */
    19   boolean enabled;
    21   /**
    22    * Barring password. Use "" if no password specified.
    23    */
    24   DOMString password;
    26   /**
    27    * Service for which the call barring is set up.
    28    *
    29    * It shall be one of the nsIDOMMozMobileConnection.ICC_SERVICE_CLASS_*
    30    * values.
    31    */
    32   unsigned short serviceClass;
    33 };
    35 dictionary DOMMMIResult
    36 {
    37   /**
    38    * String key that identifies the service associated with the MMI code
    39    * request. The UI is supposed to handle the localization of the strings
    40    * associated with this string key.
    41    */
    42   DOMString serviceCode;
    44   /**
    45    * String key containing the status message of the associated MMI request.
    46    * The UI is supposed to handle the localization of the strings associated
    47    * with this string key.
    48    */
    49   DOMString statusMessage;
    51   /**
    52    * Some MMI requests like call forwarding or PIN/PIN2/PUK/PUK2 related
    53    * requests provide extra information along with the status message, this
    54    * information can be a number, a string key or an array of string keys.
    55    */
    56   any additionalInformation;
    57 };
    59 dictionary DOMCLIRStatus
    60 {
    61   /**
    62    * CLIR parameter 'n': parameter sets the adjustment for outgoing calls.
    63    *
    64    * 0 Presentation indicator is used according to the subscription of the
    65    *   CLIR service (uses subscription default value).
    66    * 1 CLIR invocation (restricts CLI presentation).
    67    * 2 CLIR suppression (allows CLI presentation).
    68    */
    69   unsigned short n;
    71   /**
    72    * CLIR parameter 'm': parameter shows the subscriber CLIR service status in
    73    *                     the network.
    74    * 0 CLIR not provisioned.
    75    * 1 CLIR provisioned in permanent mode.
    76    * 2 unknown (e.g. no network, etc.).
    77    * 3 CLIR temporary mode presentation restricted.
    78    *
    79    * @see 3GPP TS 27.007 7.7 Defined values
    80    */
    81   unsigned short m;
    82 };

mercurial