thumbnailPreviewProperties

fun thumbnailPreviewProperties(thumbnailPreviewEndpointUrl: String, maxConcurrentThumbnailDownloads: Int? = null, thumbnailPreviewConfig: ThumbnailPreviewConfig? = null): PlayerBuilder

Configures parameters for Thumbnail Preview functionality.

Parameters

thumbnailPreviewEndpointUrl

The fully formed sprite image URL that combines the endpoint URL and generic name, which includes the flag ~index~. Player calculates the sprite index based on given position and replaces ~index~ with the index to construct the sprite URL.

thumbnailPreviewConfig

The ThumbnailPreviewConfig instance that holds the required metadata for sprite images.

maxConcurrentThumbnailDownloads

the maximum number of concurrent sprite image downloads allowed.