dom/wifi/nsIDOMMozWifiConnectionInfoEvent.idl

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     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
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #include "nsIDOMEvent.idl"
     7 interface nsIVariant;
     9 [scriptable, builtinclass, uuid(627b2102-9605-40e0-a5bf-6d3ac672b328)]
    10 interface nsIDOMMozWifiConnectionInfoEvent : nsIDOMEvent
    11 {
    12     /**
    13      * Network object with an SSID field.
    14      */
    15     readonly attribute nsIVariant network;
    17     /**
    18      * Strength of the signal to network, in dBm between -55 and -100 dBm.
    19      */
    20     readonly attribute short signalStrength;
    22     /**
    23      * Relative signal strength between 0 and 100.
    24      */
    25     readonly attribute short relSignalStrength;
    27     /**
    28      * Link speed in Mb/s.
    29      */
    30     readonly attribute long linkSpeed;
    32     /**
    33      * IP address in the dotted quad format.
    34      */
    35     readonly attribute DOMString ipAddress;
    37     [noscript] void initMozWifiConnectionInfoEvent(in DOMString aType,
    38                                                    in boolean aCanBubble,
    39                                                    in boolean aCancelable,
    40                                                    in nsIVariant aNetwork,
    41                                                    in short signalStrength,
    42                                                    in short relSignalStrength,
    43                                                    in long linkSpeed,
    44                                                    in DOMString ipAddress);
    45 };

mercurial