HyphenateChatSDK 4.10.0
EMFileMessageBody.h
1
15#import <Foundation/Foundation.h>
16
17#import "EMMessageBody.h"
18
26typedef NS_ENUM(NSInteger, EMDownloadStatus) {
27 EMDownloadStatusDownloading = 0,
28 EMDownloadStatusSucceed,
29 EMDownloadStatusFailed,
30 EMDownloadStatusPending,
31 EMDownloadStatusSuccessed=EMDownloadStatusSucceed,
32};
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 _Nonnull)initWithLocalPath:(NSString * _Nullable)aLocalPath
115 displayName:(NSString * _Nullable)aDisplayName;
116
134- (instancetype _Nonnull)initWithData:(NSData *_Nullable)aData
135 displayName:(NSString *_Nullable)aDisplayName;
136
137
138@end
Definition: EMFileMessageBody.h:42
NSString * remotePath
Definition: EMFileMessageBody.h:68
EMDownloadStatus downloadStatus
Definition: EMFileMessageBody.h:95
long long fileLength
Definition: EMFileMessageBody.h:86
NSString * localPath
Definition: EMFileMessageBody.h:59
NSString * displayName
Definition: EMFileMessageBody.h:50
NSString * secretKey
Definition: EMFileMessageBody.h:77
Definition: EMMessageBody.h:46