HyphenateSDK
3.6.1
|
#import <EMFileMessageBody.h>
构造函数 | |
(instancetype) | - initWithLocalPath:displayName: |
(instancetype) | - initWithData:displayName: |
属性 | |
NSString * | displayName |
NSString * | localPath |
NSString * | remotePath |
NSString * | secretKey |
long long | fileLength |
EMDownloadStatus | downloadStatus |
文件消息体
- (instancetype) initWithData: | (NSData *) | aData | |
displayName: | (NSString *) | aDisplayName | |
初始化文件消息体
aData | 附件数据 |
aDisplayName | 附件显示名(不包含路径) |
- (instancetype) initWithLocalPath: | (NSString *) | aLocalPath | |
displayName: | (NSString *) | aDisplayName | |
初始化文件消息体
aLocalPath | 附件本地路径 |
aDisplayName | 附件显示名(不包含路径) |
|
readwritenonatomiccopy |
附件的显示名
|
readwritenonatomicassign |
附件的下载状态
|
readwritenonatomicassign |
附件的大小, 以字节为单位
|
readwritenonatomiccopy |
附件的本地路径
|
readwritenonatomiccopy |
附件在服务器上的路径
|
readwritenonatomiccopy |
附件的密钥, 下载附件时需要密匙做校验