AgoraChatSDK 1.0.7
AgoraChatFileMessageBody.h
1
15#import <Foundation/Foundation.h>
16
17#import "AgoraChatMessageBody.h"
18
26typedef NS_ENUM(NSInteger, AgoraChatDownloadStatus) {
27 AgoraChatDownloadStatusDownloading = 0,
28 AgoraChatDownloadStatusSucceed,
29 AgoraChatDownloadStatusFailed,
30 AgoraChatDownloadStatusPending,
31 AgoraChatDownloadStatusSuccessed=AgoraChatDownloadStatusSucceed,
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) AgoraChatDownloadStatus 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: AgoraChatFileMessageBody.h:42
NSString * displayName
Definition: AgoraChatFileMessageBody.h:50
long long fileLength
Definition: AgoraChatFileMessageBody.h:86
NSString * localPath
Definition: AgoraChatFileMessageBody.h:59
NSString * remotePath
Definition: AgoraChatFileMessageBody.h:68
AgoraChatDownloadStatus downloadStatus
Definition: AgoraChatFileMessageBody.h:95
NSString * secretKey
Definition: AgoraChatFileMessageBody.h:77
Definition: AgoraChatMessageBody.h:45