EnsureSessionResult

sealed interface EnsureSessionResult(source)

Transient outcome of a single call to EnsureRemoteAdminSessionUseCase. This is the event the UI reacts to (snackbar / navigate / disable button) — distinct from the durable SessionStatus flow used by chips and gates.

Inheritors

Types

Link copied to clipboard

A fresh session was already on file; no admin packet was sent.

Link copied to clipboard

The radio is not in org.meshtastic.core.model.ConnectionState.Connected; no packet was sent.

Link copied to clipboard

A metadata request was dispatched and a passkey-bearing response was observed within the UX deadline.

Link copied to clipboard

The metadata request was dispatched but no response arrived within the UX deadline. The request is still in flight and a late response will still update the durable SessionStatus flow.