Thumbnail

interface Thumbnail

A data type represents a thumbnail file. The thumbnail typically is an image file which provides preview of the remote file without downloading. The content of the thumbnail can be downloaded via MessageClient.downloadThumbnail.

Since

1.4.0

Functions

Link copied to clipboard
abstract fun getHeight(): Int

Returns the height of the thumbnail.

Link copied to clipboard
abstract fun getMimeType(): String?

Returns the MIME type of the thumbnail.

Link copied to clipboard
abstract fun getUrl(): String?

Returns the thumbnail url of this remote file.

Link copied to clipboard
abstract fun getWidth(): Int

Returns the width of the thumbnail.