setLocalMediaItemsProvider

open fun setLocalMediaItemsProvider(mediaType: MediaType, single: Single<List<MediaItem.Local>>)

A method that will be invoked by the SOCommMediaClient with a Single that can be used to retrieve the current locally stored media items, e.g. to be able to check whether some items should be downloaded or are already downloaded from the remote device.

Parameters

mediaType

For which MediaType this provider is valid.

single

A provider to get the list of local media items.