displayedMode

abstract val displayedMode: StateFlow<InputMode>

The input mode currently being expressed to ambient UI.

Emits the current value on subscription and on every change. Backed by an app-scoped state holder, so all subscribers see the same value. Resets to InputMode.SEARCH when no Duck.ai input widget is attached.