SearchState

The state of the search view. The view's visual components have a different appearance for each state.

Entries

Link copied to clipboard

The search view is focused and the user can type a search query.

Link copied to clipboard

The loading indicator and the clear icon are shown.

Link copied to clipboard

A list of suggestions is shown below the search view.

Link copied to clipboard

The user pressed the search key and a list of results is shown below the search view.

Link copied to clipboard

The search view is locked and showing the reason why, and cannot be interacted with.

Link copied to clipboard

Both the clear icon and the loading indicator are hidden.

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.