|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.mobileconnectors.cognito.PushSyncUpdate
public class PushSyncUpdate
A class to keep handy the data that is given in a push sync message, for the sake of parsing the message to uniquely identify the dataset for update and use that information to synchronize the local data. This class should only be used with a push sync notification, isPushSyncUpdate(Intent intent) can be used to verify as much.
Method Summary | |
---|---|
java.lang.String |
getDatasetName()
Gets the name of the changed datset |
java.lang.String |
getIdentityId()
Gets the identity id for which the change was made |
java.lang.String |
getIdentityPoolId()
Gets the identity pool in which the user belongs |
java.lang.String |
getSource()
Gets the source of the notification, 'cognito-sync' from push sync |
long |
getSyncCount()
Gets the sync count of the changed dataset |
static boolean |
isPushSyncUpdate(android.content.Intent intent)
A helper to determine if the intent in question is one received from Cognito for a push sync update to a dataset. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getSource()
public java.lang.String getIdentityId()
public java.lang.String getIdentityPoolId()
public java.lang.String getDatasetName()
public long getSyncCount()
public static boolean isPushSyncUpdate(android.content.Intent intent)
intent
- the intent to check the validity of format of
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |