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.
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.
Collect mediaErrors to receive notifications about error conditions.
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.