-
public final class FolderCallback.ResultIf
totalCopiedFilesare less thantotalFilesToCopy, then some files cannot be copied/moved or the files are skipped due to ConflictResolution.MERGE can be called before BaseFileCallback.onCompleted when an error has occurred.
-
-
Field Summary
Fields Modifier and Type Field Description private final DocumentFilefolderprivate final IntegertotalFilesToCopyprivate final IntegertotalCopiedFilesprivate final Booleansuccess
-
Constructor Summary
Constructors Constructor Description FolderCallback.Result(DocumentFile folder, Integer totalFilesToCopy, Integer totalCopiedFiles, Boolean success)
-
Method Summary
Modifier and Type Method Description final DocumentFilegetFolder()final IntegergetTotalFilesToCopy()final IntegergetTotalCopiedFiles()final BooleangetSuccess()-
-
Constructor Detail
-
FolderCallback.Result
FolderCallback.Result(DocumentFile folder, Integer totalFilesToCopy, Integer totalCopiedFiles, Boolean success)
- Parameters:
folder- newly moved/copied filetotalFilesToCopy- total files, not folderstotalCopiedFiles- total files, not folderssuccess-trueif the process is not canceled and no error during copy/move
-
-
Method Detail
-
getFolder
final DocumentFile getFolder()
-
getTotalFilesToCopy
final Integer getTotalFilesToCopy()
-
getTotalCopiedFiles
final Integer getTotalCopiedFiles()
-
getSuccess
final Boolean getSuccess()
-
-
-
-