BMXFileAttachment Class Reference
Inherits from BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h
Overview
@interface File attachment of messages
Class Methods
dynamicCastWithAttachment:
Type casting
+ (BMXFileAttachment *)dynamicCastWithAttachment:(BMXMessageAttachment *)*attachment*
Parameters
attachment
The attachment
Return Value
BMXFileAttachment
Declared In
floo_proxy.h
Instance Methods
clone
- (BMXMessageAttachment *)clone
dealloc
- (void)dealloc
displayName
Attachment name displayed in UI pages.
- (NSString *)displayName
Return Value
NSString
Declared In
floo_proxy.h
downloadStatus
Download status
- (BMXMessageAttachment_DownloadStatus)downloadStatus
Return Value
BMXMessageAttachment_DownloadStatus
Declared In
floo_proxy.h
fileLength
File length
- (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:
Constructor
- (id)initWithPath:(NSString *)*path* displayName:(NSString *)*displayName*
Parameters
path
Local file path
displayName
Attachment name displayed in UI pages
Declared In
floo_proxy.h
initWithRatelUrl:displayName:fileLength:
Constructor
- (id)initWithRatelUrl:(NSString *)*ratelUrl* displayName:(NSString *)*displayName* fileLength:(long long)*fileLength*
Parameters
ratelUrl
The file URL on REST server
displayName
Attachment name displayed in UI pages
fileLength
File length
Declared In
floo_proxy.h
path
Local file path
- (NSString *)path
Return Value
NSString
Declared In
floo_proxy.h
ratelUrl
The file URL on REST server
- (NSString *)ratelUrl
Return Value
NSString
Declared In
floo_proxy.h
type
Attachment type
- (BMXMessageAttachment_Type)type
Return Value
Declared In
floo_proxy.h
url
Http url
- (NSString *)url
Return Value
NSString
Declared In
floo_proxy.h
Example: