setHiddenTo

abstract fun setHiddenTo(value: Boolean, reason: HiddenReason, liveUpdate: Boolean = false)

Set hidden state explicitly.

Parameters

value

Target hidden value; when true the component is hidden.

reason

Reason recorded for auditing/UI messaging.

liveUpdate

If true, updates state immediately without deferring.