searchByFoldedName

open fun searchByFoldedName(searchString: String, cancellationSignal: CancellationSignal): Cursor

This function needs config value generateSearchIndex set to true

Returns a Cursor which can be iterated for items containing the given search string at the start of a word.

Matching is normalized, so "appl" finds products containing "Apple", "apple" and "Super apple", but not "Superapple".

Parameters

cancellationSignal

Calls can be cancelled with a CancellationSignal. Can be null.