setConnectionState

abstract fun setConnectionState(connectionState: ConnectionState)(source)

Updates the canonical app-level connection state.

This should only be called by MeshConnectionManager. Direct mutation from other components would bypass the transport-to-app reconciliation logic and create state inconsistencies.

Parameters

connectionState