NetworkReachability

What this device's operating system says about its ability to reach a network right now — the live environmental signal that takes a WebSocket us.tractat.kuilt.core.Seam's us.tractat.kuilt.core.Seam.capability off the FabricAvailability.Unknown floor (#1725).

What this is NOT

This is a statement about this device's own connectivity, never about the relay at the other end. A phone with five bars talking to a server that has crashed is Reachable here, and the dead server is a peer-liveness fact for :kuilt-liveness / PartitionDetector to report — not a capability fact. Folding the two together would make Room.localFabric say "your network is down" to a user whose network is fine, which is the fabricated verdict #1712 exists to prevent, pointed the other way.

A null reading (the value UnobservedConnectivity publishes forever) is a fourth state and means something different again: no observer is wired at all on this binding. Indeterminate means an observer is wired and reported, and its answer was "I cannot tell".

Entries

Link copied to clipboard

The platform reports a usable network path off this device.

Link copied to clipboard

The platform reports no usable network path — this device cannot reach a relay.

Link copied to clipboard

An observer is wired and has reported, but its signal cannot distinguish reachable from not.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.