Enumeration

NWPathStatus

No overview available.

Declaration

enum NWPathStatus : Int

Topics

Enumeration Cases

case invalid

The path cannot be evaluated.

case satisfied

The path is ready to be used for network connections.

case unsatisfied

The path for network connections is not available, either due to lack of network connectivity or being prohibited by system policy.

case satisfiable

The path is not currently satisfied, but may become satisfied upon a connection attempt. This can be due to a service, such as a VPN or a cellular data connection not being activated.

See Also

Getting Network Path Properties

var status: NWPathStatus

The evaluated status of the network path

var isExpensive: Bool

A Boolean that indicates whether or not the path uses an expensive interface