public interface Syncable
Modifier and Type | Method and Description |
---|---|
int |
getSyncableData(long syncId)
Returns the number of data points that could be synchronized from the given point.
|
long |
getSyncIdTimestamp(long syncId)
Returns the timestamp of the start of the sync group.
|
boolean |
hasSyncableData(long syncId)
Returns whether there is data available to sync based on the provided id.
|
SyncQueryResults |
sync(long syncId)
This returns a set of data- it's up to the implementation to decide what makes sense.
|
boolean hasSyncableData(long syncId)
int getSyncableData(long syncId)
long getSyncIdTimestamp(long syncId)
SyncQueryResults sync(long syncId)
syncId
- if 0, returns next set of available data based on last query.
Otherwise, starts at the given time period.