ToolbarSearchSession

Host-agnostic plug the fragment-flavor search controller registers on the com.pspdfkit.compose.toolbar.adapter.ToolbarCoordinator so the Compose main toolbar can render the inline search bar in its own composition (no separate overlay view). The coordinator stays free of any fragment/View dependency — it only sees these three host-agnostic handles.

Properties

Link copied to clipboard

Actions the search bar emits (query/navigation/close).

Link copied to clipboard
abstract val isActive: StateFlow<Boolean>

Whether the inline search bar should be shown instead of the toolbar items.

Link copied to clipboard
abstract val state: StateFlow<InlineSearchState>

The current search UI state.