Enumeration

AstalNetworkConnectivity

Declaration

enum AstalNetwork.Connectivity

Description

Connectivity state as checked by NetworkManager, an alias for NM.ConnectivityState.

Members

ASTAL_NETWORK_CONNECTIVITY_UNKNOWN

Connectivity checks are disabled or have not run yet.

  • Value: 0
  • Available since: 0.1
ASTAL_NETWORK_CONNECTIVITY_NONE

The host is not connected to any network.

  • Value: 1
  • Available since: 0.1
ASTAL_NETWORK_CONNECTIVITY_PORTAL

The internet connection is hijacked by a captive portal.

  • Value: 2
  • Available since: 0.1
ASTAL_NETWORK_CONNECTIVITY_LIMITED

The host is connected to a network, but it has no access to the internet.

  • Value: 3
  • Available since: 0.1
ASTAL_NETWORK_CONNECTIVITY_FULL

The host is connected to a network and has full access to the internet.

  • Value: 4
  • Available since: 0.1