HyphenateSDK
3.1.4
|
#import <EMImageMessageBody.h>
Instance Methods | |
(instancetype) | - initWithData:thumbnailData: |
Properties | |
CGSize | size |
CGFloat | compressRatio |
NSString * | thumbnailDisplayName |
NSString * | thumbnailLocalPath |
NSString * | thumbnailRemotePath |
NSString * | thumbnailSecretKey |
CGSize | thumbnailSize |
long long | thumbnailFileLength |
EMDownloadStatus | thumbnailDownloadStatus |
EMImageMessageBody.h Image message body
Image message body, SDK will compress the image of message body that created by -(instancetype)initWithData:displayName: or -(instancetype)initWithData:thumbnailData before send the message
- (instancetype) initWithData: | (NSData *) | aData | |
thumbnailData: | (NSData *) | aThumbnailData | |
Initialize image message body instance
aData | The data of image |
aThumbnailData | The data of thumbnail |
|
readwritenonatomicassign |
Set compress ratio of image message, 1.0 without compress, default value is 0.6, will use the default value if try to set a value that equal to or less than 0
|
readwritenonatomicassign |
Size of image attachment
|
readwritenonatomiccopy |
Display name of thumbnail
|
readwritenonatomicassign |
Download status of thumbnail
|
readwritenonatomicassign |
File length of thumbnail, in bytes
|
readwritenonatomiccopy |
Local path of thumbnail
|
readwritenonatomiccopy |
Server path of thumbnail
|
readwritenonatomiccopy |
Secret key of thumbnail, need verify secret key when download thumbnail
|
readwritenonatomicassign |
Size of thumbnail