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

Example:

clone

- (BMXMessageAttachment *)clone

Return Value

BMXMessageAttachment

Declared In

  • floo_proxy.h

Example:

dealloc

- (void)dealloc

Example:

initWithData:thumbnailData:imageSize:displayName:conversationId:

- (id)initWithData:(NSData *)*aData* thumbnailData:(NSData *)*thumbnailData* imageSize:(BMXMessageAttachmentSize *)*size* displayName:(NSString *)*displayName* conversationId:(long long)*conversationId*

Example:

initWithPath:size:

- (id)initWithPath:(NSString *)*path* size:(BMXMessageAttachmentSize *)*size*

Example:

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

Example:

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

Example:

setThumbnail:

Set the local path of thumbnail

- (void)setThumbnail:(NSString *)*path*

Parameters

path
Local file path

Declared In

  • floo_proxy.h

Example:

size

Width and height of the image

- (BMXMessageAttachmentSize *)size

Return Value

BMXMessageAttachmentSize

Declared In

  • floo_proxy.h

Example:

thumbnailDownloadStatus

Downlad status of thumbnail

- (BMXMessageAttachment_DownloadStatus)thumbnailDownloadStatus

Return Value

BMXMessageAttachment_DownloadStatus

Declared In

  • floo_proxy.h

Example:

thumbnailPath

Local path of thumbnail

- (NSString *)thumbnailPath

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

thumbnailUrl

Http URL of thumbnail

- (NSString *)thumbnailUrl

Return Value

NSString

Declared In

  • floo_proxy.h

Example:

type

Attachment type

- (BMXMessageAttachment_Type)type

Return Value

BMXMessageAttachment_Type

Declared In

  • floo_proxy.h

Example:

© 2019-2023 MaximTop | Homepage Last modified time: 2023-05-17 17:35:58

results matching ""

    No results matching ""