This commit is contained in:
HapeLee committed 2025-06-04 13:33:51 +08:00
1 parent b86d90021c
commit 6c0757c91b
972 files changed
+6885 -7321

No files matched your search

@@ -0,0 +1,19 @@
package io.legato.kazusa.model
import android.content.Context
import io.legato.kazusa.constant.IntentAction
import io.legato.kazusa.service.DownloadService
import io.legato.kazusa.utils.startService
object Download {
fun start(context: Context, url: String, fileName: String) {
context.startService<DownloadService> {
action = IntentAction.start
putExtra("url", url)
putExtra("fileName", fileName)
}
}
}