startObservingForThumbnails

@CheckReturnValue
abstract fun startObservingForThumbnails(shouldThumbnailBeFetched: (fileName: String) -> Single<Boolean>, maxNumberOfThumbnailsToFetch: Int, mediaType: MediaType): Completable

Starts to observe for thumbnails from the remote device, which will be emitted at thumbnailReceivedObservable.

Return

A Completable that completes once the setup has been completed / observation has started

Parameters

shouldThumbnailBeFetched

a lambda that should return based on the given fileName whether that thumbnail should be fetched

maxNumberOfThumbnailsToFetch

The maximum number of newest items to fetch

mediaType

The MediaType to handle

See also