Class NetworkInformation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
    • Field Summary

      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      NetworkInformation()
      Creates an instance.
    • Constructor Detail

      • NetworkInformation

        public NetworkInformation()
        Creates an instance.
    • Method Detail

      • getDownlink

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

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

        public int getRtt()
        Returns:
        the rtt property