MediaStoreVideoThumbLoader
Loads InputStreams from media store video Uris that point to pre-generated thumbnails for those Uris in the media store.
If TARGET_FRAME is set with a non-null value that is not equal to DEFAULT_FRAME, this loader will always return null
. The media store does not use a defined frame to generate the thumbnail, so we cannot accurately fulfill requests for specific frames.
Constructors
Types
Link copied to clipboard
Loads InputStreams from media store image Uris that point to pre-generated thumbnails for those Uris in the media store.
Functions
Link copied to clipboard
open fun buildLoadData( model: Uri, width: Int, height: Int, options: Options): ModelLoader.LoadData<InputStream>
Content copied to clipboard
Returns a com.bumptech.glide.load.model.ModelLoader.LoadData containing a required to decode the resource represented by this model, as well as a set of Keys that identify the data loaded by the com.bumptech.glide.load.data.DataFetcher as well as an optional list of alternate keys from which equivalent data can be loaded.