HyphenateChatSDK 4.12.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};
32
41
49@property (nonatomic, copy) NSString *displayName;
50
58@property (nonatomic, copy) NSString *localPath;
59
67@property (nonatomic, copy) NSString *remotePath;
68
76@property (nonatomic, copy) NSString *secretKey;
77
85@property (nonatomic) long long fileLength;
86
94@property (nonatomic) EMDownloadStatus downloadStatus;
95
113- (instancetype _Nonnull)initWithLocalPath:(NSString * _Nullable)aLocalPath
114 displayName:(NSString * _Nullable)aDisplayName;
115
133- (instancetype _Nonnull)initWithData:(NSData *_Nullable)aData
134 displayName:(NSString *_Nullable)aDisplayName;
135
136
137@end
Definition: EMFileMessageBody.h:41
NSString * remotePath
Definition: EMFileMessageBody.h:67
EMDownloadStatus downloadStatus
Definition: EMFileMessageBody.h:94
long long fileLength
Definition: EMFileMessageBody.h:85
NSString * localPath
Definition: EMFileMessageBody.h:58
NSString * displayName
Definition: EMFileMessageBody.h:49
NSString * secretKey
Definition: EMFileMessageBody.h:76
Definition: EMMessageBody.h:46