---
updatedAt: 2026-06-12T07:21:47.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/playback/llms.txt
---

# Thumbnail

com.bitmovin.player.api.media.thumbnail

# Thumbnail

data class Thumbnail(val start: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val end: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val x: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val y: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val uri: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html), val text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

Represents a thumbnail image.

## Constructors

|           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Thumbnail | constructor(start: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), end: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), x: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), y: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), uri: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html), text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)) |

## Properties

| Name   | Summary                                                                                                                                           |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| end    | val end: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)<br>The end time of the thumbnail.                      |
| height | val height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)<br>The height of the thumbnail.                           |
| start  | val start: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)<br>The start time of the thumbnail.                  |
| text   | val text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The raw cue data.                                  |
| uri    | val uri: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html)<br>The URI of the sprite sheet.                               |
| width  | val width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)<br>The width of the thumbnail.                             |
| x      | val x: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)<br>The horizontal offset of the thumbnail in its sprite sheet. |
| y      | val y: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)<br>The vertical offset of the thumbnail in its sprite sheet.   |