SearchSourceClient
SourceClient specialization oriented towards searching.
Call search, and retrieve the updated contents as soon as isLoading is false
.
Parameters
Android context.
ID of the source to connect to.
The coroutine dispatcher to use to launch background operations. The most common are IPC requests via Binder. Defaults to the IO dispatcher.
Properties
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.
Whether the source can be queried and provide content.
The client root extras. Can be used to store various values to determine source behavior.
Functions
Launch a browser action.
Connects client to a media source to display the content. The connection is kept until disconnect is called.
Disconnects client from a media source and clears the content.
Set the callback where to receive notifications about error conditions.