Class NetworkInformation

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class NetworkInformation extends EventTarget
A JavaScript object for NetworkInformation.
See Also:
  • Constructor Details

    • NetworkInformation

      public NetworkInformation()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class EventTarget
    • getDownlink

      public double getDownlink()
      Returns:
      the downlink property
    • getEffectiveType

      public String getEffectiveType()
      Returns:
      the effectiveType property
    • getRtt

      public int getRtt()
      Returns:
      the rtt property