public class FileManagerApi extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
FileManagerApi.DownloadApi
微盘文件下载
|
| Modifier and Type | Field and Description |
|---|---|
private FileManagerApi.DownloadApi |
downloadApi |
private InternalFileManagerApi |
internalFileManagerApi |
| Constructor and Description |
|---|
FileManagerApi(retrofit2.Retrofit retrofit)
Instantiates a new File manager api.
|
| Modifier and Type | Method and Description |
|---|---|
private io.reactivex.rxjava3.core.Single<BufferSource> |
download(FileDownloadResponse downloadResponse) |
io.reactivex.rxjava3.core.Single<BufferSource> |
downloadByFileId(String fileid)
下载文件(通过文件fileid)
|
io.reactivex.rxjava3.core.Single<BufferSource> |
downloadBySelectedTicket(String selectedTicket)
下载文件(微盘和文件选择器jsapi返回的selectedTicket)
|
private final InternalFileManagerApi internalFileManagerApi
private final FileManagerApi.DownloadApi downloadApi
FileManagerApi(retrofit2.Retrofit retrofit)
retrofit - the retrofitpublic io.reactivex.rxjava3.core.Single<BufferSource> downloadByFileId(String fileid)
fileid - the fileidpublic io.reactivex.rxjava3.core.Single<BufferSource> downloadBySelectedTicket(String selectedTicket)
selectedTicket - the selected ticketprivate io.reactivex.rxjava3.core.Single<BufferSource> download(FileDownloadResponse downloadResponse)
Copyright © 2023. All rights reserved.