BMXImageAttachment Class Reference
Inherits from BMXFileAttachment :
BMXMessageAttachment :
BMXBaseObject :
NSObject
Declared in floo_proxy.h
Overview
@interface Image message attachment
Class Methods
dynamicCastWithAttachment:
Type casting
+ (BMXImageAttachment *)dynamicCastWithAttachment:(BMXMessageAttachment *)*attachment*
Parameters
attachment
The attachment
Return Value
BMXImageAttachment
Declared In
floo_proxy.h
Instance Methods
clone
- (BMXMessageAttachment *)clone
Return Value
Declared In
floo_proxy.h
dealloc
- (void)dealloc
initWithData:thumbnailData:imageSize:displayName:conversationId:
- (id)initWithData:(NSData *)*aData* thumbnailData:(NSData *)*thumbnailData* imageSize:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName* conversationId:(long long)*conversationId*
initWithPath:size:
- (id)initWithPath:(NSString *)*path* size:(BMXMessageAttachmentSize *)*size*
initWithPath:size:displayName:
Constructor
- (id)initWithPath:(NSString *)*path* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName*
Parameters
path
Local file path
size
Width and height of the image
displayName
Attachment name displayed in UI pages
Declared In
floo_proxy.h
initWithRatelUrl:size:displayName:fileLength:
Constructor
- (id)initWithRatelUrl:(NSString *)*ratelUrl* size:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName* fileLength:(long long)*fileLength*
Parameters
size
Width and height of the image
displayName
Attachment name displayed in UI pages
fileLength
File length
url
Http url
Declared In
floo_proxy.h
setThumbnail:
Set the local path of thumbnail
- (void)setThumbnail:(NSString *)*path*
Parameters
path
Local file path
Declared In
floo_proxy.h
size
Width and height of the image
- (BMXMessageAttachmentSize *)size
Return Value
Declared In
floo_proxy.h
thumbnailDownloadStatus
Downlad status of thumbnail
- (BMXMessageAttachment_DownloadStatus)thumbnailDownloadStatus
Return Value
BMXMessageAttachment_DownloadStatus
Declared In
floo_proxy.h
thumbnailPath
Local path of thumbnail
- (NSString *)thumbnailPath
Return Value
NSString
Declared In
floo_proxy.h
thumbnailUrl
Http URL of thumbnail
- (NSString *)thumbnailUrl
Return Value
NSString
Declared In
floo_proxy.h
type
Attachment type
- (BMXMessageAttachment_Type)type
Return Value
Declared In
floo_proxy.h
Example: