PlayerThumbnails

The seek bar pictures of a source (#433). at reads an image only when it is asked for, through the source's own transport, and keeps a few recent ones, so a finger that scrubs back and forth over one image downloads it once. Safe to call from any coroutine while the source is read.

Properties

Link copied to clipboard
abstract val set: ThumbnailSet

What the pictures are: the size of a tile and the time one stands for.

Functions

Link copied to clipboard
abstract suspend fun at(position: Pts): StreamThumbnail?

The picture for position, on the source's own timeline, with its start and end on that timeline too, or null where no picture stands for it.