ThumbnailPreviewConfig

data class ThumbnailPreviewConfig(val noOfColumns: Int, val noOfRows: Int, val thumbnailHeight: Int, val thumbnailWidth: Int, val keyframeDurationMs: Long, val isPrefetchRequired: Boolean? = true, val shouldDeleteFromDiskOnExit: Boolean? = true)

Data containing Thumbnail and Sprite configurations given by the client.

Constructors

Link copied to clipboard
constructor(noOfColumns: Int, noOfRows: Int, thumbnailHeight: Int, thumbnailWidth: Int, keyframeDurationMs: Long, isPrefetchRequired: Boolean? = true, shouldDeleteFromDiskOnExit: Boolean? = true)

Creates an ThumbnailPreviewConfig instance.

Properties

Link copied to clipboard

Whether prefetch is required or not. If enabled, all sprites are fetched right at the start of playback.

Link copied to clipboard

Duration of each thumbnail Image in an given sprite.

Link copied to clipboard

No of columns in an given sprite.

Link copied to clipboard

No of rows in an given sprite.

Link copied to clipboard

Whether sprites should be deleted from the disk cache when exiting the player. Note: Even if not deleted, the Android system can delete these temporary files when it runs out of space.

Link copied to clipboard

Height(in pixels) of each thumbnail image in an given sprite.

Link copied to clipboard

Width(in pixels) of each thumbnail Image in an given sprite.