HyphenateSDK 3.6.3
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
EMFileMessageBody
Definition: EMFileMessageBody.h:41
EMMessageBody
Definition: EMMessageBody.h:42
EMFileMessageBody::secretKey
NSString * secretKey
Definition: EMFileMessageBody.h:77
EMFileMessageBody::remotePath
NSString * remotePath
Definition: EMFileMessageBody.h:68
EMFileMessageBody::displayName
NSString * displayName
Definition: EMFileMessageBody.h:50
EMFileMessageBody::localPath
NSString * localPath
Definition: EMFileMessageBody.h:59
EMFileMessageBody::fileLength
long long fileLength
Definition: EMFileMessageBody.h:86
EMFileMessageBody::downloadStatus
EMDownloadStatus downloadStatus
Definition: EMFileMessageBody.h:95