ThumbnailSize

class ThumbnailSize(maxWidth: Int, maxHeight: Int)

Represents image thumbnail size. Currently this is valid only for image files. Thumbnails can be generated when you send file through BaseChannel.sendFileMessage by passing List of this instance.

Since

3.0.14

Constructors

Link copied to clipboard
constructor(maxWidth: Int, maxHeight: Int)

Properties

Link copied to clipboard
@SerializedName(value = "maxHeight", alternate = ["mMaxHeight"])
val maxHeight: Int

The maximum height of thumbnail to be generated.

Link copied to clipboard
@SerializedName(value = "maxWidth", alternate = ["mMaxWidth"])
val maxWidth: Int

The maximum width of thumbnail to be generated.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String