Sendbird Chat SDK for Unity
SbThumbnail

Represents image thumbnail. Currently this is valid only for image files. More...

Properties

int MaxWidth [get]
 Represents the maximum width of thumbnail. More...
 
int MaxHeight [get]
 Represents the maximum height of thumbnail. More...
 
int RealWidth [get]
 The actual width of thumbnail. More...
 
int RealHeight [get]
 The actual height of thumbnail. More...
 
string PlainUrl [get]
 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. More...
 
string Url [get]
 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. More...
 

Detailed Description

Represents image thumbnail. Currently this is valid only for image files.

Since
4.0.0

Property Documentation

◆ MaxHeight

int MaxHeight
get

Represents the maximum height of thumbnail.

Since
4.0.0

◆ MaxWidth

int MaxWidth
get

Represents the maximum width of thumbnail.

Since
4.0.0

◆ PlainUrl

string PlainUrl
get

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.

Since
4.0.0

◆ RealHeight

int RealHeight
get

The actual height of thumbnail.

Since
4.0.0

◆ RealWidth

int RealWidth
get

The actual width of thumbnail.

Since
4.0.0

◆ Url

string Url
get

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.

Since
4.0.0