#import <EMImageMessageBody.h>
EMImageMessageBody.h Image message body
- Author
- Hyphenate
- Version
- 3.00
Image message body
Image compression ratio. 1.0 without compression, default value is 0.6. SDK uses the default value if the given value is less than zero.
- (instancetype) initWithData: |
|
(NSData *) |
aData |
thumbnailData: |
|
(NSData *) |
aThumbnailData |
|
|
| |
Initialize an image message body instance
- Parameters
-
aData | The data of image |
aThumbnailData | The data of thumbnail |
- Returns
- An image message body instance
- (CGFloat) compressionRatio |
|
readwritenonatomicassign |
Image compression ratio. 1.0 without compression, default value is 0.6. SDK uses the default value if the given value is less than zero.
- (NSString*) thumbnailDisplayName |
|
readwritenonatomiccopy |
Display name of thumbnail
- (EMDownloadStatus) thumbnailDownloadStatus |
|
readwritenonatomicassign |
Download status of a thumbnail
- (long long) thumbnailFileLength |
|
readwritenonatomicassign |
File length of a thumbnail, in bytes
- (NSString*) thumbnailLocalPath |
|
readwritenonatomiccopy |
- (NSString*) thumbnailRemotePath |
|
readwritenonatomiccopy |
- (NSString*) thumbnailSecretKey |
|
readwritenonatomiccopy |
Secret key for downloading a thumbnail image
The documentation for this class was generated from the following file: