Code example for AccountManager

Methods: setUserData

0
     * 
     * @param account The account we're syncing 
     * @param marker The high-water-mark we want to save. 
     */ 
    private void setServerSyncMarker(Account account, long marker) {
        accountManager.setUserData(account, SYNC_MARKER_KEY, Long.toString(marker));
    } 
}