Sendbird Chat SDK for Unreal
|
#include <SBDFileMessageParams.h>
Public Member Functions | |
SBDFileMessageParams () | |
~SBDFileMessageParams () | |
SBDFileMessageParams & | SetFileUrl (std::wstring file_url) |
SBDFileMessageParams & | SetFilePath (std::wstring file_path) |
SBDFileMessageParams & | SetFileName (std::wstring file_name) |
SBDFileMessageParams & | SetMimeType (std::wstring mime_type) |
SBDFileMessageParams & | SetFileSize (int64_t file_size) |
SBDFileMessageParams & | SetThumbnailSizes (std::vector< SBDThumbnailSize > &thumbnail_sizes) |
SBDFileMessageParams & | SetData (std::wstring data) |
SBDFileMessageParams & | SetCustomType (std::wstring custom_type) |
The SBDFileMessageParams
class is used to send a file message in SBDBaseChannel
.
SBDFileMessageParams::SBDFileMessageParams | ( | ) |
Constructor
SBDFileMessageParams::~SBDFileMessageParams | ( | ) |
Destructor
SBDFileMessageParams & SBDFileMessageParams::SetCustomType | ( | std::wstring | custom_type | ) |
SBDFileMessageParams & SBDFileMessageParams::SetData | ( | std::wstring | data | ) |
SBDFileMessageParams & SBDFileMessageParams::SetFileName | ( | std::wstring | file_name | ) |
SBDFileMessageParams & SBDFileMessageParams::SetFilePath | ( | std::wstring | file_path | ) |
Sets file_path. If set, the file_url will be ignored.
file_path | file_path |
SBDFileMessageParams & SBDFileMessageParams::SetFileSize | ( | int64_t | file_size | ) |
SBDFileMessageParams & SBDFileMessageParams::SetFileUrl | ( | std::wstring | file_url | ) |
Sets file_url. If set, the file_path will be ignored.
file_url | file_url |
SBDFileMessageParams & SBDFileMessageParams::SetMimeType | ( | std::wstring | mime_type | ) |
SBDFileMessageParams & SBDFileMessageParams::SetThumbnailSizes | ( | std::vector< SBDThumbnailSize > & | thumbnail_sizes | ) |
Sets thumbnail_sizes.
thumbnail_sizes | thumbnail_sizes |