com.skype.api
Enum Account.CblSyncStatus

java.lang.Object
  extended by java.lang.Enum<Account.CblSyncStatus>
      extended by com.skype.api.Account.CblSyncStatus
All Implemented Interfaces:
EnumConverting, java.io.Serializable, java.lang.Comparable<Account.CblSyncStatus>
Enclosing class:
Account

public static enum Account.CblSyncStatus
extends java.lang.Enum<Account.CblSyncStatus>
implements EnumConverting

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

CBL_INITIALIZING

public static final Account.CblSyncStatus CBL_INITIALIZING
status is not clear (yet)


CBL_INITIAL_SYNC_PENDING

public static final Account.CblSyncStatus CBL_INITIAL_SYNC_PENDING
first sync with empty profile


CBL_SYNC_PENDING

public static final Account.CblSyncStatus CBL_SYNC_PENDING
Account properties are considered to be out of sync with CBL - attempt at synchronization is imminent. You might wish to wait with updating UI components that display the data that is about to change anyway.


CBL_SYNC_IN_PROGRESS

public static final Account.CblSyncStatus CBL_SYNC_IN_PROGRESS
CBL synchronization is currently taking place.


CBL_IN_SYNC

public static final Account.CblSyncStatus CBL_IN_SYNC
Account properties are up-to-date.


CBL_SYNC_FAILED

public static final Account.CblSyncStatus CBL_SYNC_FAILED
CBL sync has. Another attempt will be made after several minutes. If a second attempt also fails, subsequent attempts at synchronization will be made at ever increasing intervals.


CBL_REMOTE_SYNC_PENDING

public static final Account.CblSyncStatus CBL_REMOTE_SYNC_PENDING
we have received a hint that there is a remote data change in CBL

Field Detail

CBL_INITIALIZING_VALUE

public static final int CBL_INITIALIZING_VALUE
See Also:
Constant Field Values

CBL_INITIAL_SYNC_PENDING_VALUE

public static final int CBL_INITIAL_SYNC_PENDING_VALUE
See Also:
Constant Field Values

CBL_SYNC_PENDING_VALUE

public static final int CBL_SYNC_PENDING_VALUE
See Also:
Constant Field Values

CBL_SYNC_IN_PROGRESS_VALUE

public static final int CBL_SYNC_IN_PROGRESS_VALUE
See Also:
Constant Field Values

CBL_IN_SYNC_VALUE

public static final int CBL_IN_SYNC_VALUE
See Also:
Constant Field Values

CBL_SYNC_FAILED_VALUE

public static final int CBL_SYNC_FAILED_VALUE
See Also:
Constant Field Values

CBL_REMOTE_SYNC_PENDING_VALUE

public static final int CBL_REMOTE_SYNC_PENDING_VALUE
See Also:
Constant Field Values
Method Detail

values

public static Account.CblSyncStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Account.CblSyncStatus c : Account.CblSyncStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Account.CblSyncStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()
Specified by:
getId in interface EnumConverting

getDefault

public EnumConverting getDefault()
Specified by:
getDefault in interface EnumConverting

convert

public EnumConverting convert(int from)
Specified by:
convert in interface EnumConverting

getArray

public EnumConverting[] getArray(int size)
Specified by:
getArray in interface EnumConverting

get

public static Account.CblSyncStatus get(int from)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.