Inline Search State
Immutable UI state for the Compose inline search bar.
This is the host-agnostic, View-free state the com.pspdfkit.compose.search.composables.NutrientInlineSearchBar renders. It intentionally carries only display data (query, status, counts) — the actual SearchResult objects stay inside the fragment-flavor controller and are delivered to the highlighter via the result listener, so this type has no fragment-only dependencies.
selectedIndex is zero-based, or -1 when nothing is selected.
Constructors
Types
Factory holder for common InlineSearchState values.
Properties
Whether there is a result before selectedIndex to navigate to.
Whether the current search produced at least one result.
Whether the most recent search has finished (drives the "no matches" message).
Whether a search is currently running.
Number of results found by the current search.
Zero-based index of the selected result, or -1 when none is selected.
Whether the "no matches found" message should be shown.