AliyunpanClient

class AliyunpanClient : AliyunpanBaseClient, TokenAuthenticator.TokenAuthenticatorConfig

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun authInvalid()
Link copied to clipboard
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

Link copied to clipboard
open override fun clearOauth()
Link copied to clipboard
open override fun fetchToken(activity: Activity)
Link copied to clipboard
open override fun getOkHttpInstance(): OkHttpClient
Link copied to clipboard
open override fun isInstanceYunpanApp(): Boolean
Link copied to clipboard
fun oauth(onSuccess: Consumer<Unit>, onFailure: Consumer<Exception>)
Link copied to clipboard
Link copied to clipboard
fun send(scope: AliyunpanScope, onSuccess: Consumer<ResultResponse>, onFailure: Consumer<Exception>)
fun send(request: Request, onSuccess: Consumer<ResultResponse>, onFailure: Consumer<Exception>)

Send 发送请求