/** * Returns the current SyncKey; override if the SyncKey is stored elsewhere (as for Contacts) * * @return the current SyncKey for the Mailbox * @throws IOException */ public String getSyncKey() throws IOException { if (mMailbox.mSyncKey == null) { userLog("Reset SyncKey to 0"); mMailbox.mSyncKey = "0"; } return mMailbox.mSyncKey; }
public void setSyncKey(String syncKey, boolean inCommands) throws IOException { mMailbox.mSyncKey = syncKey; }