NIM PC Cross Platform SDK
nim_qchat::QChatVideoAttach Struct Reference
Inheritance diagram for nim_qchat::QChatVideoAttach:
nim_qchat::QChatFileAttach nim_qchat::IQChatAttachInterface

Public Member Functions

 QChatVideoAttach (const std::string &raw_data)
 
 QChatVideoAttach (const NIMQChatVideoAttach &c_param)
 
const NIMQChatVideoAttach ToCParam () const
 
void SetRawData (const std::string &raw_data)
 
std::string GetRawData () const override
 
- Public Member Functions inherited from nim_qchat::QChatFileAttach
 QChatFileAttach (const std::string &raw_data)
 
 QChatFileAttach (const NIMQChatFileAttach &c_param)
 
const NIMQChatFileAttach ToCParam () const
 
void SetRawData (const std::string &raw_data)
 
std::string GetRawData () const override
 
void ProcessFileFields (nim_cpp_wrapper_util::Json::Value &values) const
 
bool IsFileBased () const override
 
virtual void SetRawData (const std::string &raw_data)
 
virtual std::string GetRawData () const
 
virtual bool IsFileBased () const
 

Public Attributes

uint64_t duration = 0
 
uint32_t width = 0
 
uint32_t height = 0
 
- Public Attributes inherited from nim_qchat::QChatFileAttach
std::string name
 
std::string file_path
 
std::string hash
 
std::string download_url
 
std::string extension
 

Member Function Documentation

◆ GetRawData()

std::string nim_qchat::QChatVideoAttach::GetRawData ( ) const
inlineoverridevirtual

Reimplemented from nim_qchat::QChatFileAttach.

◆ SetRawData()

void nim_qchat::QChatVideoAttach::SetRawData ( const std::string &  raw_data)
inlinevirtual

Reimplemented from nim_qchat::QChatFileAttach.


The documentation for this struct was generated from the following file: