fix: download status

This commit is contained in:
xkeyC
2025-12-05 17:40:45 +08:00
parent 39ddea7254
commit 53ffab783f
5 changed files with 36 additions and 14 deletions

View File

@@ -234,4 +234,19 @@ class DownloadTaskInfo {
}
/// Download task status
enum DownloadTaskStatus { initializing, live, paused, error, finished }
enum DownloadTaskStatus {
/// Checking/verifying existing files
checking,
/// Actively downloading
live,
/// Paused
paused,
/// Error occurred
error,
/// Download completed
finished,
}