floo::BMXVideoAttachment
Last updated
Was this helpful?
Last updated
Was this helpful?
视频消息附件
#include <bmx_video_attachment.h>
Inherits from , , BMXBaseObject
virtual
virtual BMXMessageAttachmentPtr
const [Size] &
int32_t
void
const std::string &
const std::string &
void
const std::string &
class
class
virtual
const std::string &
const std::string &
const std::string &
const std::string &
int64_t
std::string
std::string
std::string
std::string
int64_t
class
class
enum class
enum class
virtual
构造函数,构建发送视频消息附件
Parameters:
path 文件的本地路径
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
构造函数,构建发送视频消息附件
Parameters:
path 文件的本地路径
thumbnailPath 缩略图文件的本地路径
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
构造函数,构建接收视频消息附件
Parameters:
ratelUrl ratel文件服务器地址
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
fileLength 文件大小
构造函数,构建接收视频消息附件
Parameters:
ratelUrl ratel文件服务器地址
thumbnailRatelUrl 缩略图ratel文件服务器地址
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
fileLength 文件大小
析构函数
返回文件类型
Return: Type
克隆函数
Return: BMXMessageAttachmentPtr
视频大小,宽度和高度
Return: Size
视频片段时长
Return: int32_t
设置发送视频片段消息缩略图
Parameters:
path 视频片段消息缩略图
缩略图本地路径
Return: std::string
远程缩略图使用URL
Return: std::string
设置发送视频片段消息缩略图ratel服务器路径
Parameters:
thumbnailRatelUrl 视频片段消息缩略图服务器路径
缩略图ratel服务器路径
Return: std::string
缩略图下载状态
Return: DownloadStatus
Updated on 2022-01-26 at 17:20:40 +0800
(const std::string & path, int duration, const [Size] & size, const std::string & displayName ="") 构造函数,构建发送视频消息附件
(const std::string & path, const std::string & thumbnailPath, int duration, const [Size] & size, const std::string & displayName ="") 构造函数,构建发送视频消息附件
(const std::string & ratelUrl, int duration, const [Size] & size, const std::string & displayName, int64_t fileLength) 构造函数,构建接收视频消息附件
(const std::string & ratelUrl, const std::string & thumbnailRatelUrl, int duration, const [Size] & size, const std::string & displayName, int64_t fileLength) 构造函数,构建接收视频消息附件
() 析构函数
virtual
() const 返回文件类型
() const 克隆函数
() const 视频大小,宽度和高度
() const 视频片段时长
(const std::string & path) 设置发送视频片段消息缩略图
() const 缩略图本地路径
() const 远程缩略图使用URL
(const std::string & thumbnailRatelUrl) 设置发送视频片段消息缩略图ratel服务器路径
() const 缩略图ratel服务器路径
() const 缩略图下载状态
Public Functions inherited from
(const std::string & path, const std::string & displayName ="") 构造函数,构建发送文件消息附件
(const std::string & ratelUrl, const std::string & displayName, int64_t fileLength) 构造函数,构建接收文件消息附件
() 析构函数
() const 本地路径
() const 显示名
() const 远程ratel使用URL
() const 远程使用URL
() const 文件长度
() const 附件下载状态
Protected Attributes inherited from
Friends inherited from
Public Types inherited from
{ Image, Voice, Video, File, Location, Command, Forward} 附件类型
{ Downloaing, Successed, Failed, NotStart, Canceled} 附件下载状态
Public Functions inherited from
() 构造函数
() 析构函数
Reimplements:
Reimplements: