BMXFileAttachment Class Reference#
Inherits from BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h
Overview#
@interface 消息文件附件
Class Methods#
dynamicCastWithAttachment:#
消息附件强制转换为文件附件
+ (BMXFileAttachment )dynamicCastWithAttachment:(BMXMessageAttachment )attachment
Parameters#
attachment
附件
Return Value#
BMXFileAttachment
Declared In#
floo_proxy.h
Instance Methods#
clone#
- (BMXMessageAttachment *)clone
dealloc#
- (void)dealloc
displayName#
显示名
- (NSString *)displayName
Return Value#
NSString
Declared In#
floo_proxy.h
downloadStatus#
附件下载状态
- (BMXMessageAttachment_DownloadStatus)downloadStatus
Return Value#
BMXMessageAttachment_DownloadStatus
Declared In#
floo_proxy.h
fileLength#
文件长度
- (long long)fileLength
Return Value#
NSString
Declared In#
floo_proxy.h
initWithData:displayName:conversationId:#
- (id)initWithData:(NSData )aData displayName:(NSString )displayName conversationId:(long long)conversationId
initWithPath:#
- (id)initWithPath:(NSString )path*
initWithPath:displayName:#
构造函数,构建发送文件消息附件
- (id)initWithPath:(NSString )path displayName:(NSString )displayName
Parameters#
path
文件的本地路径
displayName
文件展示名
Declared In#
floo_proxy.h
initWithRatelUrl:displayName:fileLength:#
构造函数,构建接收文件消息附件
- (id)initWithRatelUrl:(NSString )ratelUrl displayName:(NSString )displayName fileLength:(long long)fileLength
Parameters#
ratelUrl
ratel文件服务器地址
displayName
文件展示名
fileLength
文件大小
Declared In#
floo_proxy.h
path#
本地路径
- (NSString *)path
Return Value#
NSString
Declared In#
floo_proxy.h
ratelUrl#
远程ratel使用URL
- (NSString *)ratelUrl
Return Value#
NSString
Declared In#
floo_proxy.h
type#
返回文件类型
- (BMXMessageAttachment_Type)type
Return Value#
Declared In#
floo_proxy.h
url#
远程使用URL
- (NSString *)url
Return Value#
NSString
Declared In#
floo_proxy.h