Function

nw_path_is_expensive(_:)

Checks whether the path uses an interface that is considered expensive, such as Cellular or a Personal Hotspot.

Declaration

func nw_path_is_expensive(_ path: nw_path_t) -> Bool

See Also

Checking Path Capabilities

func nw_path_has_ipv4(nw_path_t) -> Bool

Checks whether the path can route IPv4 traffic.

func nw_path_has_ipv6(nw_path_t) -> Bool

Checks whether the path can route IPv6 traffic.

func nw_path_has_dns(nw_path_t) -> Bool

Checks whether the path has a DNS server configured.

func nw_path_is_constrained(nw_path_t) -> Bool

Checks whether the path uses an interface in Low Data Mode.