HyphenateSDK  3.6.1
EMFileMessageBody.h
1 
15 #import <Foundation/Foundation.h>
16 
17 #import "EMMessageBody.h"
18 
26 typedef enum {
27  EMDownloadStatusDownloading = 0,
28  EMDownloadStatusSucceed,
29  EMDownloadStatusFailed,
30  EMDownloadStatusPending,
31  EMDownloadStatusSuccessed=EMDownloadStatusSucceed,
32 } EMDownloadStatus;
33 
42 
50 @property (nonatomic, copy) NSString *displayName;
51 
59 @property (nonatomic, copy) NSString *localPath;
60 
68 @property (nonatomic, copy) NSString *remotePath;
69 
77 @property (nonatomic, copy) NSString *secretKey;
78 
86 @property (nonatomic) long long fileLength;
87 
95 @property (nonatomic) EMDownloadStatus downloadStatus;
96 
114 - (instancetype)initWithLocalPath:(NSString *)aLocalPath
115  displayName:(NSString *)aDisplayName;
116 
134 - (instancetype)initWithData:(NSData *)aData
135  displayName:(NSString *)aDisplayName;
136 
137 
138 @end
NSString * remotePath
Definition: EMFileMessageBody.h:68
NSString * secretKey
Definition: EMFileMessageBody.h:77
NSString * displayName
Definition: EMFileMessageBody.h:50
NSString * localPath
Definition: EMFileMessageBody.h:59
Definition: EMMessageBody.h:42
long long fileLength
Definition: EMFileMessageBody.h:86
EMDownloadStatus downloadStatus
Definition: EMFileMessageBody.h:95
Definition: EMFileMessageBody.h:41