NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::QChatVideoAttach结构体 参考

#include <nim_qchat_message_cpp_def.h>

类 nim::QChatVideoAttach 继承关系图:
nim::QChatFileAttach nim::IQChatAttachInterface

Public 成员函数

 QChatVideoAttach ()=default
 
 QChatVideoAttach (const std::string &raw_data)
 
 QChatVideoAttach (const NIMQChatVideoAttach &c_param)
 
NIMQChatVideoAttach ToCParam () const
 
void SetRawData (const std::string &raw_data) override
 
std::string GetRawData () const override
 
- Public 成员函数 继承自 nim::QChatFileAttach
 QChatFileAttach ()=default
 
 QChatFileAttach (const std::string &raw_data)
 
 QChatFileAttach (const NIMQChatFileAttach &c_param)
 
NIMQChatFileAttach ToCParam () const
 
void SetRawData (const std::string &raw_data) override
 
std::string GetRawData () const override
 
void ProcessFileFields (nim_cpp_wrapper_util::Json::Value &values) const
 
bool IsFileBased () const override
 
- Public 成员函数 继承自 nim::IQChatAttachInterface
 IQChatAttachInterface ()=default
 
virtual ~IQChatAttachInterface ()
 
virtual void SetRawData (const std::string &raw_data)
 
virtual std::string GetRawData () const
 
virtual bool IsFileBased () const
 

Public 属性

uint64_t duration = 0
 
uint32_t width = 0
 
uint32_t height = 0
 
- Public 属性 继承自 nim::QChatFileAttach
std::string name
 
std::string file_path
 
std::string hash
 
std::string download_url
 
std::string extension
 

构造及析构函数说明

◆ QChatVideoAttach() [1/3]

nim::QChatVideoAttach::QChatVideoAttach ( )
default

◆ QChatVideoAttach() [2/3]

nim::QChatVideoAttach::QChatVideoAttach ( const std::string &  raw_data)
inline

◆ QChatVideoAttach() [3/3]

nim::QChatVideoAttach::QChatVideoAttach ( const NIMQChatVideoAttach c_param)
inline

成员函数说明

◆ GetRawData()

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

◆ SetRawData()

void nim::QChatVideoAttach::SetRawData ( const std::string &  raw_data)
inlineoverridevirtual

◆ ToCParam()

NIMQChatVideoAttach nim::QChatVideoAttach::ToCParam ( ) const
inline

类成员变量说明

◆ duration

uint64_t nim::QChatVideoAttach::duration = 0

◆ height

uint32_t nim::QChatVideoAttach::height = 0

◆ width

uint32_t nim::QChatVideoAttach::width = 0

该结构体的文档由以下文件生成: