Package com.contentstack.sdk
Class SyncStack
java.lang.Object
com.contentstack.sdk.SyncStack
public class SyncStack extends Object
Synchronization:
The Sync API takes care of syncing your Contentstack data with your app and
ensures that the data is always up-to-date by providing delta updates
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_URL
-
Constructor Summary
Constructors Constructor Description SyncStack()
-
Method Summary
Modifier and Type Method Description int
getCount()
ArrayList<org.json.JSONObject>
getItems()
org.json.JSONObject
getJSONResponse()
int
getLimit()
String
getPaginationToken()
int
getSkip()
String
getSyncToken()
String
getURL()
protected void
setJSON(org.json.JSONObject jsonobject)
-
Field Details
-
REQUEST_URL
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SyncStack
public SyncStack()
-
-
Method Details
-
getURL
-
getJSONResponse
public org.json.JSONObject getJSONResponse() -
getCount
public int getCount() -
getLimit
public int getLimit() -
getSkip
public int getSkip() -
getPaginationToken
-
getSyncToken
-
getItems
-
setJSON
protected void setJSON(org.json.JSONObject jsonobject)
-