fun invoke(searchTerms: String, session: Session = sessionManager.selectedSessionOrThrow): Unit
(source)
Triggers a search using the default search engine for the provided search terms.
searchTerms
- the search terms.
session
- the session to use, or the currently selected session if none
is provided.
fun invoke(searchTerms: String, source: Source, selected: Boolean = true, private: Boolean = false): Unit
(source)
Triggers a search on a new session, using the default search engine for the provided search terms.
searchTerms
- the search terms.
selected
- whether or not the new session should be selected, defaults to true.
private
- whether or not the new session should be private, defaults to false.