Gjsify LogoGjsify Logo

#NMState values indicate the current overall networking state.

Index

Enumeration Members

ASLEEP: number

Networking is not enabled, the system is being suspended or resumed from suspend.

CONNECTED_GLOBAL: number

There is global IPv4 and/or IPv6 Internet connectivity This means the Internet connectivity check succeeded, the graphical shell should indicate full network connectivity.

CONNECTED_LOCAL: number

There is only local IPv4 and/or IPv6 connectivity, but no default route to access the Internet. The graphical shell should indicate no network connectivity.

CONNECTED_SITE: number

There is only site-wide IPv4 and/or IPv6 connectivity. This means a default route is available, but the Internet connectivity check (see "Connectivity" property) did not succeed. The graphical shell should indicate limited network connectivity.

CONNECTING: number

A network connection is being started The graphical shell should indicate the network is being connected while the applications should still make no attempts to connect the network.

DISCONNECTED: number

There is no active network connection. The graphical shell should indicate no network connectivity and the applications should not attempt to access the network.

DISCONNECTING: number

Network connections are being cleaned up. The applications should tear down their network sessions.

UNKNOWN: number

Networking state is unknown. This indicates a daemon error that makes it unable to reasonably assess the state. In such event the applications are expected to assume Internet connectivity might be present and not disable controls that require network access. The graphical shells may hide the network accessibility indicator altogether since no meaningful status indication can be provided.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method