PLVDocumentUploadModel
@interface PLVDocumentUploadModel : NSObject
文档上传数据模型
-
文件Id
Declaration
Objective-C
@property (nonatomic, copy, readwrite) NSString *_Nonnull fileId;Swift
var fileId: String { get set } -
文件名
Declaration
Objective-C
@property (nonatomic, copy, readwrite) NSString *_Nonnull fileName;Swift
var fileName: String { get set } -
文件路径
Declaration
Objective-C
@property (nonatomic, copy, readwrite) NSString *_Nonnull filePath;Swift
var filePath: String { get set } -
文件转换类型:“common” 普通ppt , “animate”动画PPT
Declaration
Objective-C
@property (nonatomic, copy, readwrite) NSString *_Nonnull convertType;Swift
var convertType: String { get set } -
文件上传进度
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) float progress;Swift
var progress: Float { get set } -
文件上传状态
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) PLVDocumentUploadStatus status;Swift
var status: PLVDocumentUploadStatus { get set } -
视频上传进度回调 block(该 block 运行在主线程,用于更新 UI)
Declaration
Objective-C
@property (nonatomic, copy, readwrite) PLVSUploadProgressBlock _Nullable uploadProgress;Swift
var uploadProgress: PLVSUploadProgressBlock? { get set }
View on GitHub
PLVDocumentUploadModel Class Reference