dom/wifi/nsIDOMMozWifiConnectionInfoEvent.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
     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