Thumbnail

class Thumbnail

Represents image thumbnail. Currently this is valid only for image files. Thumbnails can be generated when you send file through

Since

3.0.14

See also

Properties

Link copied to clipboard

Represents the maximum height of thumbnail.

Link copied to clipboard

Represents the maximum width of thumbnail.

Link copied to clipboard

The URL of the generated thumbnail, which does not contain SendbirdChat.eKey as a parameter. If the file encryption feature is enabled, accessing this plainUrl will be denied.

Link copied to clipboard

The actual height of thumbnail.

Link copied to clipboard

The actual width of thumbnail.

Link copied to clipboard
val url: String

The URL of the generated thumbnail. If the file encryption feature is enabled, this will have SendbirdChat.eKey combined with the plainUrl so the thumbnail can be accessed. For caching the thumbnail, it is recommended to use plainUrl as the key of the file cache.

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