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 BufferSource |
download(FileDownloadResponse downloadResponse) |
BufferSource |
downloadByFileId(String fileid)
下载文件(通过文件fileid)
|
BufferSource |
downloadBySelectedTicket(String selectedTicket)
下载文件(微盘和文件选择器jsapi返回的selectedTicket)
|
private final InternalFileManagerApi internalFileManagerApi
private final FileManagerApi.DownloadApi downloadApi
FileManagerApi(retrofit2.Retrofit retrofit)
retrofit - the retrofitpublic BufferSource downloadByFileId(String fileid)
fileid - the fileidpublic BufferSource downloadBySelectedTicket(String selectedTicket)
selectedTicket - the selected ticketprivate BufferSource download(FileDownloadResponse downloadResponse)
Copyright © 2023. All rights reserved.