WebAPI/NetworkAPI: Difference between revisions

Line 22: Line 22:
   interface Connection
   interface Connection
   {
   {
     // Estimated speed (in MB/s) of the current connection.
     // Estimated bandwidth (in MB/s) of the current connection.
     readonly attribute double  speed;
     readonly attribute double  bandwidth;
     // Return whether the current connection is restricted (like quota, pay per use, etc.).
     // Return whether the current connection is restricted (like quota, pay per use, etc.).
     readonly attribute boolean restricted;
     readonly attribute boolean restricted;
Confirmed users
368

edits