SearchSourceClient
class SearchSourceClient(sourceId: SourceId, coroutineDispatcher: CoroutineDispatcher = Options.mediaCoroutineDispatcher) : SourceClient
Content copied to clipboard
SourceClient specialization oriented towards searching.
Call search, and retrieve the updated contents as soon as isLoading is false
.
Parameters
sourceId
ID of the source to connect to.
coroutineDispatcher
The coroutine dispatcher to use to launch background operations. The most common are IPC requests via Binder. Defaults to the IO dispatcher.
Constructors
Link copied to clipboard
fun SearchSourceClient(sourceId: SourceId, coroutineDispatcher: CoroutineDispatcher = Options.mediaCoroutineDispatcher)
Content copied to clipboard
Properties
Link copied to clipboard
The list of IviMediaItem results obtained by searching for query. Initially empty. The contents will be updated over time if the source decides to do so.