Property | Type | Description | |
---|---|---|---|
Progress | float | ||
TotalSize | int |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetDatas ( ) : byte[] | ||
GetFullSavePath ( string relativePath ) : string | ||
Load ( string fullUrl, string saveFullPath, bool useContinue = false, bool useCache = false, int expireDays = 1, int timeout = 5 ) : |
|
|
Load ( string fullUrl, string saveFullPath, int expireDays, int timeout = 5 ) : |
Method | Description | |
---|---|---|
Init ( string fullUrl, string saveFullPath, bool useContinue, bool useCache = false, int expireDays = 1, int timeout = 10 ) : void | ||
KHttpDownloader ( ) : System | ||
OnDestroy ( ) : void | ||
OnFinish ( ) : void | ||
StartDownload ( string fullUrl ) : IEnumerator | ||
ThreadableResumeDownload ( string url, int>.Action |
public static GetFullSavePath ( string relativePath ) : string | ||
relativePath | string | |
return | string |
public static Load ( string fullUrl, string saveFullPath, bool useContinue = false, bool useCache = false, int expireDays = 1, int timeout = 5 ) : |
||
fullUrl | string | |
saveFullPath | string | 完整的保存路径! |
useContinue | bool | 是否断点续传 |
useCache | bool | 如果存在则不下载了! |
expireDays | int | |
timeout | int | |
return |
public static Load ( string fullUrl, string saveFullPath, int expireDays, int timeout = 5 ) : |
||
fullUrl | string | |
saveFullPath | string | |
expireDays | int | |
timeout | int | |
return |