public static final class DropboxAPI.DeltaPage<MD>
extends java.lang.Object
DeltaEntrys (returned by delta).| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
cursor
A string that is used to keep track of your current state.
|
java.util.List<DropboxAPI.DeltaEntry<MD>> |
entries
Apply these entries to your local state to catch up with the Dropbox server's state.
|
boolean |
hasMore
If
true, then there are more entries available; you can call delta again immediately to retrieve those entries. |
boolean |
reset
If
true, then you should reset your local state to be an empty
folder before processing the list of delta entries. |
| Constructor and Description |
|---|
DropboxAPI.DeltaPage(boolean reset,
java.util.List<DropboxAPI.DeltaEntry<MD>> entries,
java.lang.String cursor,
boolean hasMore) |
| Modifier and Type | Method and Description |
|---|---|
static <MD> DropboxAPI.DeltaPage<MD> |
extractFromJson(JsonThing j,
JsonExtractor<MD> entryExtractor) |
public final boolean reset
true, then you should reset your local state to be an empty
folder before processing the list of delta entries. This is only true
in rare situations.public final java.lang.String cursor
delta, pass in this value to pick up where you left off.public final java.util.List<DropboxAPI.DeltaEntry<MD>> entries
public final boolean hasMore
true, then there are more entries available; you can call delta again immediately to retrieve those entries. If false,
then wait at least 5 minutes (preferably longer) before checking again.public DropboxAPI.DeltaPage(boolean reset,
java.util.List<DropboxAPI.DeltaEntry<MD>> entries,
java.lang.String cursor,
boolean hasMore)
public static <MD> DropboxAPI.DeltaPage<MD> extractFromJson(JsonThing j, JsonExtractor<MD> entryExtractor) throws JsonExtractionException
JsonExtractionException