Thumbnail

class Thumbnail

A data type represents a thumbnail of this local file.

The thumbnail typically is an image file to provide preview of the local file without opening.

Since

1.4.0

Constructors

Link copied to clipboard
constructor(file: File, mime: String?, width: Int, height: Int)
constructor()

Functions

Link copied to clipboard
fun getFile(): File?

Returns the local thumbnail file to be uploaded.

Link copied to clipboard
fun getHeight(): Int?

Returns the height of the thumbnail.

Link copied to clipboard

Returns the MIME type of thumbnail.

Link copied to clipboard
fun getPath(): String?

Returns the local path to the thumbnail.

Link copied to clipboard
fun getSize(): Long

Returns the size in bytes of the thumbnail.

Link copied to clipboard
fun getWidth(): Int?

Returns the width of the thumbnail.