StreamThumbnail

class StreamThumbnail(val image: ByteArray, val mimeType: String?, val x: Int, val y: Int, val width: Int, val height: Int, val start: Duration, val end: Duration)

The seek bar picture for a stretch of the item (#433): the region of image at x, y, width by height pixels, which stands for the item from start up to end. image is the whole grid image as the stream serves it, a JPEG, PNG or WebP that mimeType names when the stream says, so the application decodes it with its platform's image decoder and draws that region. A region of 0, 0 and a zero size stands for the whole image, for a stream that does not cut its images into tiles.

Constructors

Link copied to clipboard
constructor(image: ByteArray, mimeType: String?, x: Int, y: Int, width: Int, height: Int, start: Duration, end: Duration)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard

True when the region is the whole image.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int
Link copied to clipboard
val x: Int
Link copied to clipboard
val y: Int

Functions

Link copied to clipboard
open override fun toString(): String