buildDownload

fun buildDownload(driveId: String, fileId: String, onSuccess: Consumer<BaseTask>, onFailure: Consumer<Exception>)


fun buildDownload(driveId: String, fileId: String, expireSec: Int? = null, onSuccess: Consumer<BaseTask>, onFailure: Consumer<Exception>)

Build download

Parameters

driveId
fileId
expireSec

下载地址过期时间 单位秒 默认900秒

onSuccess
onFailure