NwUnsatisfiedReason

Why a path is NwPathStatus.Unsatisfied, mirroring nw_path_unsatisfied_reason_t. LocalNetworkDenied is the Local-Network-permission denial — the actionable signal a consumer turns into "grant Local Network access" guidance instead of a silent stall.

Entries

Link copied to clipboard

No interface available at all (radios off / airplane mode).

Link copied to clipboard

Cellular data is denied for this app/path.

Link copied to clipboard

Wi-Fi is denied for this app/path.

Link copied to clipboard

The Local-Network permission has been denied — the actionable permission signal.

Link copied to clipboard

A required on-demand VPN is inactive.

Link copied to clipboard

The OS reported an unsatisfied reason this version does not model.

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.