android-components / mozilla.components.browser.storage.sync / PlacesBookmarksStorage / searchBookmarks

searchBookmarks

open suspend fun searchBookmarks(query: String, limit: Int): List<BookmarkNode> (source)

Overrides BookmarksStorage.searchBookmarks

Searches bookmarks with a query string.

Parameters

query - The query string to search.

limit - The maximum number of entries to return.

Return The list of matching bookmark nodes up to the limit number of items.