TuSDKNKDownloadItem Class Reference

Inherits from TuSDKDataJson : NSObject
Conforms to NSCoding
Declared in TuSDKNKDownloadItem.h

Overview

下载对象

  idt

资源ID

@property (nonatomic) uint64_t idt

Declared In

TuSDKNKDownloadItem.h

  key

资源key

@property (nonatomic, copy) NSString *key

Declared In

TuSDKNKDownloadItem.h

  status

下载状态

@property (nonatomic) lsqDownloadTaskStatus status

Declared In

TuSDKNKDownloadItem.h

  progress

下载进度

@property (nonatomic) CGFloat progress

Declared In

TuSDKNKDownloadItem.h

  userId

用户ID

@property (nonatomic, copy) NSString *userId

Declared In

TuSDKNKDownloadItem.h

  type

下载类型

@property (nonatomic) lsqDownloadTaskType type

Declared In

TuSDKNKDownloadItem.h

  fileName

文件名称

@property (nonatomic, copy) NSString *fileName

Declared In

TuSDKNKDownloadItem.h

  typeAct

下载类型动作标识

@property (nonatomic, readonly) NSString *typeAct

Declared In

TuSDKNKDownloadItem.h

  fileId

文件ID

@property (nonatomic, copy) NSString *fileId

Declared In

TuSDKNKDownloadItem.h

– localDownloadPath

本地下载文件路径

- (NSString *)localDownloadPath

Return Value

本地下载文件路径

Declared In

TuSDKNKDownloadItem.h

– localTempPath

本地下载文件临时目录

- (NSString *)localTempPath

Return Value

本地下载文件临时目录

Declared In

TuSDKNKDownloadItem.h

– jsonData

转为JSON数据

- (NSDictionary *)jsonData

Return Value

JSON数据

Declared In

TuSDKNKDownloadItem.h

– jsonStatusChangeData

状态改变数据

- (NSString *)jsonStatusChangeData

Return Value

jsonStatusChangeData 状态改变数据

Declared In

TuSDKNKDownloadItem.h

+ typeActWithType:

下载类型动作标识

+ (NSString *)typeActWithType:(lsqDownloadTaskType)type

Parameters

type

下载类型动作

Return Value

type 下载类型动作标识

Declared In

TuSDKNKDownloadItem.h