ItemSourceClient
A SourceClient specialization oriented towards showing the contents of a single media item.
Targets a single media item by getting its contents, and keeps them up to date.
Parameters
Android context.
ID of the source to connect to.
The media item to target.
The coroutine dispatcher to use to launch background operations. The most common are IPC requests via Binder. Defaults to the IO dispatcher.
Constructors
Properties
The list of IviMediaItems contained in the subscribed mediaItem. Initially empty. The contents will be updated over time, when 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.