createCompositeSearch

fun createCompositeSearch(    type: SearchManager.CompositeSearchType,     searches: List<Search>,     callback: CreateSearchCallback<CompositeSearch>,     executor: Executor? = null)

Create composite search - combination of search engines to fulfil more complex search scenarios

Parameters

type

combination type - either SEQUENTIAL (sequential search within provided search engines) or PARALLEL (parallel search within provided search engines)

searches

list of search engines to be combined together into one composite search engine

callback

called as a result of create operation

executor

callback will be called on this executor