com.skype.api
Enum Account.COMMITSTATUS
java.lang.Object
java.lang.Enum<Account.COMMITSTATUS>
com.skype.api.Account.COMMITSTATUS
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Account.COMMITSTATUS>
- Enclosing class:
- Account
public static enum Account.COMMITSTATUS
- extends java.lang.Enum<Account.COMMITSTATUS>
The list of possible values of Account class COMMITSTATUS property. Note that this property and its values have nothing to do with (automatic) CBL synchronization. Rather, the COMMITSTATUS reflects commit status to account's server side properties initiated with calls to Account class SetServersideIntProperty and Account class SetServersideStrProperty methods. After those methods, your client UI may want to wait until the COMMITSTATUS becomes COMMITTING_TO_SERVER followed by COMMITTED and inform the user if the value becomes COMMIT_FAILED. SetServersideProperty methods are used for writing privacy policy related and call forwarding related Account properties to the server. Unlike CBL synchronization, those updates are executed immediately.
| 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 |
COMMITTED
public static final Account.COMMITSTATUS COMMITTED
- No pending updates to the server.
COMMITTING_TO_SERVER
public static final Account.COMMITSTATUS COMMITTING_TO_SERVER
- Update to the server in progress.
COMMIT_FAILED
public static final Account.COMMITSTATUS COMMIT_FAILED
- Server update has failed.
values
public static Account.COMMITSTATUS[] 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.COMMITSTATUS c : Account.COMMITSTATUS.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.COMMITSTATUS 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()
get
public static Account.COMMITSTATUS get(int code)
fromString
public static Account.COMMITSTATUS fromString(java.lang.String s)
Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.