ThumbnailPreview

Provides the API for showing content preview as thumbnails while seeking a.k.a "Thumbnail Preview".

Inheritors

Types

Link copied to clipboard
class Builder(spriteURL: String)

A Builder that helps in constructing a concrete instance of ThumbnailPreview

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun getThumbnail(positionMs: Long, thumbnailHandler: (result: Bitmap?) -> Unit)

Returns the thumbnail as Bitmap for the given position of the scrubber.