im::floo::floolib::BMXVideoAttachment
视频消息附件
Inherits from im.floo.floolib.BMXFileAttachment, im.floo.floolib.BMXMessageAttachment, BMXBaseObject
Public Functions
synchronized void
delete()
BMXVideoAttachment(String path, int duration, BMXMessageAttachment.Size size, String displayName) 构造函数,构建发送视频消息附件
BMXVideoAttachment(String path, int duration, BMXMessageAttachment.Size size)
BMXVideoAttachment(String path, String thumbnailPath, int duration, BMXMessageAttachment.Size size, String displayName) 构造函数,构建发送视频消息附件
BMXVideoAttachment(String path, String thumbnailPath, int duration, BMXMessageAttachment.Size size)
BMXVideoAttachment(String ratelUrl, int duration, BMXMessageAttachment.Size size, String displayName, long fileLength) 构造函数,构建接收视频消息附件
BMXVideoAttachment(String ratelUrl, String thumbnailUrl, int duration, BMXMessageAttachment.Size size, String displayName, long fileLength) 构造函数,构建接收视频消息附件
BMXMessageAttachment.Type
type() 返回文件类型
clone() 克隆函数
BMXMessageAttachment.Size
size() 视频大小,宽度和高度
int
duration() 视频片段时长
void
setThumbnail(String path) 设置发送视频片段消息缩略图
String
thumbnailPath() 缩略图本地路径
String
thumbnailUrl() 缩略图服务器路径
void
setThumbnailRatelUrl(String thumbnailRatelUrl)
String
BMXMessageAttachment.DownloadStatus
thumbnailDownloadStatus() 缩略图下载状态
dynamic_cast(BMXMessageAttachment attachment)
Protected Functions
Additional inherited members
Public Functions inherited from im.floo.floolib.BMXFileAttachment
BMXFileAttachment(String path, String displayName) 构造函数,构建发送文件消息附件
BMXFileAttachment(String path)
BMXFileAttachment(String ratelUrl, String displayName, long fileLength) 构造函数,构建接收文件消息附件
String
path() 本地路径
String
displayName() 显示名
String
ratelUrl()
String
url() 远程URL
long
fileLength() 文件长度
BMXMessageAttachment.DownloadStatus
downloadStatus() 附件下载状态
Protected Functions inherited from im.floo.floolib.BMXFileAttachment
BMXFileAttachment(long cPtr, boolean cMemoryOwn)
Protected Functions inherited from im.floo.floolib.BMXMessageAttachment
BMXMessageAttachment(long cPtr, boolean cMemoryOwn)
Public Functions Documentation
function delete
Reimplements: im::floo::floolib::BMXFileAttachment::delete
function BMXVideoAttachment
构造函数,构建发送视频消息附件
Parameters:
path 文件的本地路径
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
function BMXVideoAttachment
function BMXVideoAttachment
构造函数,构建发送视频消息附件
Parameters:
path 文件的本地路径
thumbnailPath 缩略图文件的本地路径
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
function BMXVideoAttachment
function BMXVideoAttachment
构造函数,构建接收视频消息附件
Parameters:
ratelUrl ratel服务器地址
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
fileLength 文件大小
function BMXVideoAttachment
构造函数,构建接收视频消息附件
Parameters:
ratelUrl ratel服务器地址
thumbnailUrl 缩略图文件服务器地址
duration 视频片段时长
size 视频大小,宽度和高度
displayName 文件展示名
fileLength 文件大小
function type
返回文件类型
Return: Type
Reimplements: im::floo::floolib::BMXFileAttachment::type
function clone
克隆函数
Return: BMXMessageAttachmentPtr
Reimplements: im::floo::floolib::BMXFileAttachment::clone
function size
视频大小,宽度和高度
Return: Size
function duration
视频片段时长
Return: int32_t
function setThumbnail
设置发送视频片段消息缩略图
Parameters:
path 视频片段消息缩略图
function thumbnailPath
缩略图本地路径
Return: std::string
function thumbnailUrl
缩略图服务器路径
Return: std::string
function setThumbnailRatelUrl
function thumbnailRatelUrl
function thumbnailDownloadStatus
缩略图下载状态
Return: DownloadStatus
function dynamic_cast
Reimplements: im::floo::floolib::BMXFileAttachment::dynamic_cast
Protected Functions Documentation
function BMXVideoAttachment
function finalize
Reimplements: im::floo::floolib::BMXFileAttachment::finalize
function getCPtr
Updated on 2022-01-26 at 17:18:31 +0800
Last updated
Was this helpful?