public final class SyncData
extends java.lang.Object
Constructor and Description |
---|
SyncData(long uidvalidity)
Creates a SyncData object suitable for the initial sync of a folder
|
SyncData(long uidvalidity,
long modseq,
long lastSeenUid,
long firstSeenUid) |
Modifier and Type | Method and Description |
---|---|
long |
getFirstSeenUid() |
long |
getLastseenUid() |
long |
getModseq() |
long |
getUidvalidity() |
public SyncData(long uidvalidity)
uidvalidity
- public SyncData(long uidvalidity, long modseq, long lastSeenUid, long firstSeenUid)
uidvalidity
- the folder uidvalidity, from
StoreClient.getUidValidity(String)
modseq
- use 1L for initial synclastSeenUid
- last known uid. This is used to differentiate updates and
creates. use 0 for initial syncfirstSeenUid
- first known uid. This is used to differentiate filter deleted
items. use 0 for initial syncCopyright © 2021. All Rights Reserved.