BMXVideoAttachment Class Reference
Inherits from BMXFileAttachment :
BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h
Overview
@interface 视频消息附件
Class Methods
dynamicCastWithAttachment:
消息附件强制转换为视频附件
+ (BMXVideoAttachment *)dynamicCastWithAttachment:(BMXMessageAttachment *)*attachment*
Parameters
attachment
附件
Return Value
BMXVideoAttachment
Declared In
floo_proxy.h
Instance Methods
clone
克隆函数
- (BMXMessageAttachment *)clone
Return Value
Declared In
floo_proxy.h
dealloc
- (void)dealloc
duration
视频片段时长
- (int)duration
Return Value
int
Declared In
floo_proxy.h
initWithPath:duration:size:
- (id)initWithPath:(NSString *)*path* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size*
initWithPath:duration:size:displayName:
构造函数,构建发送视频消息附件
- (id)initWithPath:(NSString *)*path* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName*
Parameters
path
文件的本地路径
duration
视频片段时长
size
视频大小,宽度和高度
displayName
文件展示名
Declared In
floo_proxy.h
initWithPath:thumbnailPath:duration:size:
- (id)initWithPath:(NSString *)*path* thumbnailPath:(NSString *)*thumbnailPath* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size*
initWithPath:thumbnailPath:duration:size:displayName:
构造函数,构建发送视频消息附件
- (id)initWithPath:(NSString *)*path* thumbnailPath:(NSString *)*thumbnailPath* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName*
Parameters
path
文件的本地路径
thumbnailPath
缩略图文件的本地路径
duration
视频片段时长
size
视频大小,宽度和高度
displayName
文件展示名
Declared In
floo_proxy.h
initWithRatelUrl:duration:size:displayName:fileLength:
构造函数,构建接收视频消息附件
- (id)initWithRatelUrl:(NSString *)*ratelUrl* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName* fileLength:(long long)*fileLength*
Parameters
ratelUrl
ratel文件服务器地址
duration
视频片段时长
size
视频大小,宽度和高度
displayName
文件展示名
fileLength
文件大小
Declared In
floo_proxy.h
initWithRatelUrl:thumbnailRatelUrl:duration:size:displayName:fileLength:
构造函数,构建接收视频消息附件
- (id)initWithRatelUrl:(NSString *)*ratelUrl* thumbnailRatelUrl:(NSString *)*thumbnailRatelUrl* duration:(int)*duration* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName* fileLength:(long long)*fileLength*
Parameters
ratelUrl
ratel文件服务器地址
thumbnailRatelUrl
缩略图ratel文件服务器地址
duration
视频片段时长
size
视频大小,宽度和高度
displayName
文件展示名
fileLength
文件大小
Declared In
floo_proxy.h
setThumbnail:
设置发送视频片段消息缩略图
- (void)setThumbnail:(NSString *)*path*
Parameters
path
视频片段消息缩略图
Declared In
floo_proxy.h
setThumbnailRatelUrl:
设置发送视频片段消息缩略图ratel服务器路径
- (void)setThumbnailRatelUrl:(NSString *)*thumbnailRatelUrl*
Parameters
thumbnailRatelUrl
视频片段消息缩略图服务器路径
Declared In
floo_proxy.h
size
视频大小,宽度和高度
- (BMXMessageAttachmentSize *)size
Return Value
Declared In
floo_proxy.h
thumbnailDownloadStatus
缩略图下载状态
- (BMXMessageAttachment_DownloadStatus)thumbnailDownloadStatus
Return Value
DownloadStatus
Declared In
floo_proxy.h
thumbnailPath
缩略图本地路径
- (NSString *)thumbnailPath
Return Value
NSString
Declared In
floo_proxy.h
thumbnailRatelUrl
缩略图ratel服务器路径
- (NSString *)thumbnailRatelUrl
Return Value
NSString
Declared In
floo_proxy.h
thumbnailUrl
远程缩略图使用URL
- (NSString *)thumbnailUrl
Return Value
NSString
Declared In
floo_proxy.h
type
返回文件类型
- (BMXMessageAttachment_Type)type
Return Value
Declared In
floo_proxy.h
Example: