public final class DbxSyncStatus
extends java.lang.Object
DbxFileSystem
.Modifier and Type | Class and Description |
---|---|
static class |
DbxSyncStatus.OperationStatus
The current status of one type of background synchronization operation.
|
Modifier and Type | Field and Description |
---|---|
DbxSyncStatus.OperationStatus |
download
Status of downloading file contents into the
cache.
|
boolean |
isSyncActive
Background synchronization system is actively
processing or waiting for changes.
|
DbxSyncStatus.OperationStatus |
metadata
Status of synchronizing info about files and
folders.
|
DbxSyncStatus.OperationStatus |
upload
Status of uploading changes to the server.
|
Modifier and Type | Method and Description |
---|---|
DbxException |
anyFailure()
Convenience method for determining whether any operation failed,
and getting an appropriate exception to throw.
|
boolean |
anyInProgress()
Convenience method for checking whether any type of operation is
in progress.
|
java.lang.String |
toString() |
public final boolean isSyncActive
DbxFileSystem
is first created until it completes its first
file info sync. After that point it will be active whenever there
are changes to download or upload, or when there are any files
open or path listeners registered.public final DbxSyncStatus.OperationStatus metadata
public final DbxSyncStatus.OperationStatus download
public final DbxSyncStatus.OperationStatus upload
public boolean anyInProgress()
public DbxException anyFailure()
public java.lang.String toString()
toString
in class java.lang.Object