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