ECFileMessageBody Class Reference
| Inherits from | ECMessageBody : NSObject |
|---|---|
| Declared in | ECFileMessageBody.h |
displayName
文件消息体的显示名
@property (nonatomic, strong) NSString *displayNameDeclared In
ECFileMessageBody.h
localPath
文件消息体的本地文件路径
@property (nonatomic, strong) NSString *localPathDeclared In
ECFileMessageBody.h
remotePath
文件消息体的服务器远程文件路径
@property (nonatomic, strong) NSString *remotePathDeclared In
ECFileMessageBody.h
fileLength
文件消息体的文件长度, 以字节为单位
@property (nonatomic) long long fileLengthDeclared In
ECFileMessageBody.h
mediaDownloadStatus
附件是否下载完成
@property (nonatomic) ECMediaDownloadStatus mediaDownloadStatusDeclared In
ECFileMessageBody.h
– initWithFile:displayName:
以文件路径构造文件对象
- (id)initWithFile:(NSString *)filePath displayName:(NSString *)displayNameParameters
filePath |
磁盘文件全路径 |
|---|---|
displayName |
文件对象的显示名 |
Return Value
文件对象
Discussion
@method
Declared In
ECFileMessageBody.h