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 StringREQUEST_URL
-
Constructor Summary
Constructors Constructor Description SyncStack()
-
Method Summary
Modifier and Type Method Description intgetCount()ArrayList<org.json.JSONObject>getItems()org.json.JSONObjectgetJSONResponse()intgetLimit()StringgetPaginationToken()intgetSkip()StringgetSyncToken()StringgetURL()protected voidsetJSON(org.json.JSONObject jsonobject)
-
-
-
Field Detail
-
REQUEST_URL
public static final String REQUEST_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getURL
public String getURL()
-
getJSONResponse
public org.json.JSONObject getJSONResponse()
-
getCount
public int getCount()
-
getLimit
public int getLimit()
-
getSkip
public int getSkip()
-
getPaginationToken
public String getPaginationToken()
-
getSyncToken
public String getSyncToken()
-
getItems
public ArrayList<org.json.JSONObject> getItems()
-
setJSON
protected void setJSON(org.json.JSONObject jsonobject)
-
-