JCSDK-iOS
|
#import <JCStorageItem.h>
构造函数 | |
(void) | - setFileId: [implementation] |
设置文件唯一标识符 更多... | |
(void) | - setUri: [implementation] |
设置文件链接,上传文件可获得 更多... | |
(void) | - setPath: [implementation] |
设置文件本地路径,发送时表明发送文件路径,接收时表明文件下载保存路径 更多... | |
(void) | - setDirection: [implementation] |
设置上传还是下载,参见 JCStorageItemDirection 更多... | |
(void) | - setState: [implementation] |
设置传输状态,参见 JCStorageItemState 更多... | |
(void) | - setError: [implementation] |
设置错误码,当文件状态未 JCStorageStateFail 时有效,参见 JCStorageReason 更多... | |
(void) | - setProgress: [implementation] |
设置文件传输进度 更多... | |
(void) | - setSessId: [implementation] |
(void) | - setFileSize: [implementation] |
属性 | |
NSString * | fileId |
NSString * | uri |
NSString * | path |
JCStorageItemDirection | direction |
JCStorageItemState | state |
JCStorageReason | error |
int | progress |
int | fileSize |
unsigned int | sessId [implementation] |
文件sdk标识 | |
unsigned int | cookie [implementation] |
cookie | |
文件消息对象类
|
implementation |
设置上传还是下载,参见 JCStorageItemDirection
direction | 上传还是下载 |
|
implementation |
设置错误码,当文件状态未 JCStorageStateFail 时有效,参见 JCStorageReason
error | 错误码 |
|
implementation |
设置文件唯一标识符
fileId | 文件唯一标识符 |
|
implementation |
设置文件本地路径,发送时表明发送文件路径,接收时表明文件下载保存路径
path | 文件本地路径 |
|
implementation |
设置文件传输进度
progress | 文件传输进度 |
|
implementation |
设置传输状态,参见 JCStorageItemState
state | 传输状态 |
|
implementation |
设置文件链接,上传文件可获得
uri | 文件链接 |
|
readnonatomicassign |
文件传输方向
|
readnonatomicassign |
文件传输失败的原因
当文件状态为 JCStorageItemStateFail 时有效,参见 JCStorageReason 错误原因
|
readnonatomiccopy |
文件唯一标识符
|
readnonatomicassign |
文件大小
|
readnonatomiccopy |
文件本地路径
|
readnonatomicassign |
文件传输进度
|
readnonatomicassign |
传输状态,参见 JCStorageItemState
|
readnonatomiccopy |
文件链接,上传文件可获得