BMXImageAttachment

Inherits from BMXFileAttachment : BMXMessageAttachment : NSObject Declared in BMXImageAttachment.h

Properties

pictureSize

@property (nonatomic) CGSize pictureSize

thumbnailDownLoadStatus

@property (nonatomic, assign) BMXAttachmentDownloadStatus thumbnailDownLoadStatus

thumbnailFileLength

@property (nonatomic, assign) long long thumbnailFileLength

thumbnailPath

@property (nonatomic, copy) NSString *thumbnailPath

thumbnailSize

@property (nonatomic) CGSize thumbnailSize

Instance Methods

initWithData:thumbnailData:imageSize:conversationId:

- (instancetype)initWithData:(NSData *)*aData* thumbnailData:(NSData *)*aThumbnailData* imageSize:(CGSize)*imageSize* conversationId:(NSString *)*conversationId*

initWithLocalPath:thumbnailPath:size:displayName:conversationId:

- (instancetype)initWithLocalPath:(NSString *)*aLocalPath* thumbnailPath:(NSString *)*aThumbnailPath* size:(CGSize)*size* displayName:(NSString *)*aDisplayName* conversationId:(NSString *)*conversationId*

setReceiveThumbnailUrl:thumbnailSize:fileLength:

设置接收图片消息缩略图

- (void)setReceiveThumbnailUrl:(NSString *)*url* thumbnailSize:(CGSize)*thumbnailSize* fileLength:(long long)*fileLength*

Discussion

设置接收图片消息缩略图

Declared In

  • BMXImageAttachment.h

setsendThumbnailPath:

设置发送图片消息缩略图

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

Discussion

设置发送图片消息缩略图

Declared In

  • BMXImageAttachment.h

Last updated

Was this helpful?