BaseTask

abstract class BaseTask(driveId: String, fileId: String)

Constructors

Link copied to clipboard
constructor(driveId: String, fileId: String)

Types

Link copied to clipboard
sealed class TaskState

Task state 密封类封装各运行状态 和关联数据

Functions

Link copied to clipboard
abstract fun addStateChange(onChange: Consumer<BaseTask.TaskState>)
Link copied to clipboard
abstract fun cancel()

Cancel 取消任务

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getTaskName(): String
Link copied to clipboard
Link copied to clipboard
abstract fun start(): Boolean

Start