Uses of Interface
com.amilesend.onedrive.connection.file.TransferProgressCallback
Packages that use TransferProgressCallback
Package
Description
-
Uses of TransferProgressCallback in com.amilesend.onedrive.connection
Methods in com.amilesend.onedrive.connection with parameters of type TransferProgressCallbackModifier and TypeMethodDescriptionlong
OneDriveConnection.download
(@NonNull okhttp3.Request request, @NonNull Path folderPath, String name, long sizeBytes, @NonNull TransferProgressCallback callback) Downloads the contents for the givenrequest
to the specifiedfolderPath
andname
.OneDriveConnection.downloadAsync
(@NonNull okhttp3.Request request, @NonNull Path folderPath, String name, long sizeBytes, @NonNull TransferProgressCallback callback) Downloads the contents for the givenrequest
asynchronously to the specifiedfolderPath
andname
. -
Uses of TransferProgressCallback in com.amilesend.onedrive.connection.file
Classes in com.amilesend.onedrive.connection.file that implement TransferProgressCallbackModifier and TypeClassDescriptionclass
A log-based implementation ofTransferProgressCallback
that logs transfer progress.Methods in com.amilesend.onedrive.connection.file with parameters of type TransferProgressCallbackModifier and TypeMethodDescriptionProgressReportingFileRequestBody.ProgressReportingFileRequestBodyBuilder.callback
(TransferProgressCallback callback) TransferFileWriter.TransferFileWriterBuilder.callback
(@NonNull TransferProgressCallback callback) LogProgressCallback.LogProgressCallbackBuilder.chainedCallback
(TransferProgressCallback chainedCallback) -
Uses of TransferProgressCallback in com.amilesend.onedrive.resource
Methods in com.amilesend.onedrive.resource with parameters of type TransferProgressCallbackModifier and TypeMethodDescriptionvoid
DriveFile.download
(Path folderPath, TransferProgressCallback callback) Downloads this file to the givenfolderPath
and reports transfer progress to the specifiedTransferProgressCallback
.DriveFile.downloadAsync
(Path folderPath, TransferProgressCallback callback) Downloads this file asynchronously to the givenfolderPath
and reports transfer progress to the specifiedTransferProgressCallback
.DriveFile.upload
(File file, TransferProgressCallback callback) Uploads and replaces this drive file's contents with the givenfile
and reports transfer progress to the specifiedTransferProgressCallback
.DriveItemFolderType.upload
(File file, TransferProgressCallback callback) Uploads the givenfile
under this folder and reports transfer progress to the specifiedTransferProgressCallback
.DriveFile.uploadAsync
(File file, TransferProgressCallback callback) Uploads and replaces this drive file's contents asynchronously with the givenfile
and reports transfer progress to the specifiedTransferProgressCallback
.DriveItemFolderType.uploadAsync
(File file, TransferProgressCallback callback) Uploads the givenfile
asynchronously under this folder and reports transfer progress to the specifiedTransferProgressCallback
. -
Uses of TransferProgressCallback in com.amilesend.onedrive.resource.item
Methods in com.amilesend.onedrive.resource.item with parameters of type TransferProgressCallbackModifier and TypeMethodDescriptionvoid
DriveItem.download
(@NonNull Path folderPath, @NonNull TransferProgressCallback callback) Downloads the drive item and reports transfer progress to the givenTransferProgressCallback
.void
DriveItemVersion.download
(@NonNull Path folderPath, @NonNull TransferProgressCallback callback) Downloads a specific drive item version and reports transfer progress to the specifiedTransferProgressCallback
.DriveItem.downloadAsync
(@NonNull Path folderPath, @NonNull TransferProgressCallback callback) Downloads the drive item asynchronously that reports transfer progress and completion to the specifiedTransferProgressCallback
.DriveItemVersion.downloadAsync
(@NonNull Path folderPath, @NonNull TransferProgressCallback callback) Downloads a specific drive item version asynchronously and reports transfer progress to the specifiedTransferProgressCallback
.DriveItem.upload
(File file, @NonNull TransferProgressCallback callback) Uploads a file to replace the contents of thisDriveItem
and reports the transfer status to the givenTransferProgressCallback
.DriveItem.uploadAsync
(File file, @NonNull TransferProgressCallback callback) Uploads a file asynchronously to replace the contents of thisDriveItem
and reports the transfer status to the givenTransferProgressCallback
.DriveItem.uploadNew
(File file, @NonNull TransferProgressCallback callback) Uploads a new file as a child of thisDriveItem
and reports the transfer status to the givenTransferProgressCallback
.DriveItem.uploadNewAsync
(File file, @NonNull TransferProgressCallback callback) Uploads a new file asynchronously as a child of thisDriveItem
and reports the transfer status to the givenTransferProgressCallback
.