Created
January 17, 2013 15:08
-
-
Save slashthinking/4556574 to your computer and use it in GitHub Desktop.
同步的异常,以及同步采用的压缩方式。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SyncmlEngine | |
{ | |
public static final int TCC_ERR_NONE = 0; | |
public static final int TCC_ERR_SYNC_ALERT_FAIL = -32217; | |
public static final int TCC_ERR_SYNC_DEVICE_FULL = -32220; | |
public static final int TCC_ERR_SYNC_INVALID_CREDENTIALS = -32215; | |
public static final int TCC_ERR_SYNC_LARGE_OBJECT_ERROR = -32219; | |
public static final int TCC_ERR_SYNC_LARGE_OBJECT_SIZE_MISMATCH = -32218; | |
public static final int TCC_ERR_SYNC_LOGIC = -32221; | |
public static final int TCC_ERR_SYNC_TARGET_MISMATCH = -32214; | |
public static final int TCC_SYNC_CRED_BASE64 = 0; | |
public static final int TCC_SYNC_CRED_MD5 = 1; | |
public static final int TCC_SYNC_CRED_QQMAIL = 2; | |
public static final int TCC_SYNC_CRYPT_NONE = 0; | |
public static final int TCC_SYNC_CRYPT_SSL = 32; | |
public static final int TCC_SYNC_CRYPT_XXTEA = 16; | |
public static final int TCC_SYNC_DEFLATE = 256; | |
public static final int TCC_SYNC_GZIP = 512; | |
public static final int TCC_URL_OPTION_WLAN = 8192; | |
private int cppInstance = newSyncmlEngineInstance(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment