|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.CblSyncStatus>
com.skype.api.Account.CblSyncStatus
public static enum Account.CblSyncStatus
Recognized values for the P_CBLSYNCSTATUS property. CBL stands for Central Buddy List. In principle, this property and its states can be ignored by most UI developers. However, it can help to optimize UI buildup and behaviour, particularly in case of limited resources (such as mobile devices). CBL is used to backup your contact list, contact groups, and profile information, and also used to synchronize this information with other Skype instances of your account (i.e. on another device). CBL sync can occur both during login and during normal operation. Note that CBL synchronization does not take place immediately after an Account property is changed. A delay between the first property change and CBL sync initiation enables the client to accumulate changes and do the synchronization in bulk. Clients with limited resources might want to wait for CBL_IN_SYNC status before generating their UI's contact list representation. Otherwise it might be forced to redraw the contact list multiple times, as new updates get retrieved from the server-side. Similarly, applications that modify an account's mood message might want to know when the P_MOOD_TEXT or P_RICH_MOOD_TEXT property is synchronized to the server. Note that this sync is only for CBL and other logged in instances of the same account - other contacts will receive the mood message update directly.
| Enum Constant Summary | |
|---|---|
CBL_IN_SYNC
Account properties are up-to-date. |
|
CBL_INITIAL_SYNC_PENDING
first sync with empty profile |
|
CBL_INITIALIZING
status is not clear (yet) |
|
CBL_REMOTE_SYNC_PENDING
we have received a hint that there is a remote data change in CBL |
|
CBL_SYNC_FAILED
CBL sync has. |
|
CBL_SYNC_IN_PROGRESS
CBL synchronization is currently taking place. |
|
CBL_SYNC_PENDING
Account properties are considered to be out of sync with CBL - attempt at synchronization is imminent. |
|
| Field Summary | |
|---|---|
static int |
CBL_IN_SYNC_VALUE
|
static int |
CBL_INITIAL_SYNC_PENDING_VALUE
|
static int |
CBL_INITIALIZING_VALUE
|
static int |
CBL_REMOTE_SYNC_PENDING_VALUE
|
static int |
CBL_SYNC_FAILED_VALUE
|
static int |
CBL_SYNC_IN_PROGRESS_VALUE
|
static int |
CBL_SYNC_PENDING_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Account.CblSyncStatus |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
int |
getId()
|
static Account.CblSyncStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.CblSyncStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Account.CblSyncStatus CBL_INITIALIZING
public static final Account.CblSyncStatus CBL_INITIAL_SYNC_PENDING
public static final Account.CblSyncStatus CBL_SYNC_PENDING
public static final Account.CblSyncStatus CBL_SYNC_IN_PROGRESS
public static final Account.CblSyncStatus CBL_IN_SYNC
public static final Account.CblSyncStatus CBL_SYNC_FAILED
public static final Account.CblSyncStatus CBL_REMOTE_SYNC_PENDING
| Field Detail |
|---|
public static final int CBL_INITIALIZING_VALUE
public static final int CBL_INITIAL_SYNC_PENDING_VALUE
public static final int CBL_SYNC_PENDING_VALUE
public static final int CBL_SYNC_IN_PROGRESS_VALUE
public static final int CBL_IN_SYNC_VALUE
public static final int CBL_SYNC_FAILED_VALUE
public static final int CBL_REMOTE_SYNC_PENDING_VALUE
| Method Detail |
|---|
public static Account.CblSyncStatus[] values()
for (Account.CblSyncStatus c : Account.CblSyncStatus.values()) System.out.println(c);
public static Account.CblSyncStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getId()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Account.CblSyncStatus get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||