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

小视频消息附件 更多...

#include <nim_talk_helper.h>

类 nim::IMVideo 继承关系图:
nim::IMFile

Public 成员函数

 IMVideo ()
 
std::string ToJsonString () const
 组装Json Value字符串
 
bool operator== (const IMVideo &rhs) const
 
- Public 成员函数 继承自 nim::IMFile
 IMFile ()
 
std::string ToJsonString (nim_cpp_wrapper_util::Json::Value &attach) const
 组装Json Value字符串
 
std::string ToJsonString () const
 组装Json Value字符串
 
bool operator== (const IMFile &rhs) const
 

Public 属性

int duration_
 视频时长
 
int width_
 视频画面宽度
 
int height_
 视频画面高度
 
- Public 属性 继承自 nim::IMFile
std::string md5_
 文件内容MD5
 
int64_t size_
 文件大小
 
std::string url_
 上传云端后得到的文件下载地址
 
std::string display_name_
 用于显示的文件名称
 
std::string file_extension_
 文件扩展名
 
std::string msg_attachment_tag_
 string, (可选)发送含有附件的消息时使用的场景标签(可参见nos删除策略) Audio Image Video File或者可以被SDK解析到本地文件路径的自定义消息
 

详细描述

小视频消息附件

构造及析构函数说明

◆ IMVideo()

nim::IMVideo::IMVideo ( )
inline

构造函数

成员函数说明

◆ operator==()

bool nim::IMVideo::operator== ( const IMVideo rhs) const
inline

◆ ToJsonString()

std::string nim::IMVideo::ToJsonString ( ) const
inline

组装Json Value字符串

返回
string Json Value字符串

类成员变量说明

◆ duration_

int nim::IMVideo::duration_

视频时长

◆ height_

int nim::IMVideo::height_

视频画面高度

◆ width_

int nim::IMVideo::width_

视频画面宽度


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