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