docs.rodeo

MDN Web Docs mirror

NetworkInformation

{{APIRef("Network Information API")}}  {{AvailableInWorkers}} 

The NetworkInformation interface of the Network Information API provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. The NetworkInformation interface cannot be instantiated. It is instead accessed through the connection property of the {{domxref("Navigator")}}  interface or the {{domxref("WorkerNavigator")}}  interface.

{{InheritanceDiagram}} 

Instance properties

This interface also inherits properties of its parent, {{domxref("EventTarget")}} .

Instance methods

This interface also inherits methods of its parent, {{domxref("EventTarget")}} .

Events

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN