|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Account.LOGOUTREASON>
com.skype.api.Account.LOGOUTREASON
public static enum Account.LOGOUTREASON
Recognized values for the Account.P_LOGOUTREASON. Note that this property should only be examined when Account.P_STATUS is LOGGED_OUT or LOGGED_OUT_AND_PWD_SAVED. That is, you should not monitor changes to this property in Account.OnChange callback, other than after already having checked that P_STATUS property has appropriate value. The reason for this is that the LOGOUTREASON does not get reset before the next login attempt. For example: if a user tried to log in with a wrong password, the LOGOUTREASON gets set to INCORRECT_PASSWORD. Now, if the user tries to log in again, and yet again submits an incorrect password, the value of the LOGOUTREASON does not change anymore, because it already is set to INCORRECT_PASSWORD. Consequently, Account.OnChange will not fire in this case.
| Enum Constant Summary | |
|---|---|
APP_ID_FAILURE
platform sdk |
|
DB_CORRUPT
async errors (can happen anytime while logged in) |
|
DB_DISK_FULL
async errors (can happen anytime while logged in) |
|
DB_FAILURE
deprecated (superceded by more detailed DB_* errors) |
|
DB_IN_USE
sync errors at login/registration |
|
DB_IO_ERROR
async errors (can happen anytime while logged in) |
|
HTTPS_PROXY_AUTH_FAILED
sync errors at login/registration |
|
INCORRECT_PASSWORD
sync errors at login |
|
INVALID_APP_ID
platform sdk |
|
INVALID_EMAIL
sync errors at registration |
|
INVALID_SKYPENAME
sync errors at registration |
|
LOGOUT_CALLED
manual logout (or unknown reason from previous session) |
|
NO_SUCH_IDENTITY
sync errors at login |
|
P2P_CONNECT_FAILED
sync errors at login/registration |
|
PASSWORD_HAS_CHANGED
async errors (can happen anytime while logged in) |
|
PERIODIC_UIC_UPDATE_FAILED
async errors (can happen anytime while logged in) |
|
REJECTED_AS_UNDERAGE
sync errors at registration |
|
SERVER_CONNECT_FAILED
sync errors at login/registration |
|
SERVER_OVERLOADED
sync errors at login/registration |
|
SKYPENAME_TAKEN
sync errors at registration |
|
SOCKS_PROXY_AUTH_FAILED
sync errors at login/registration |
|
TOO_MANY_LOGIN_ATTEMPTS
sync errors at login |
|
UNACCEPTABLE_PASSWORD
sync errors at registration |
|
UNSUPPORTED_VERSION
forced upgrade/discontinuation |
|
| Method Summary | |
|---|---|
static Account.LOGOUTREASON |
fromString(java.lang.String s)
|
static Account.LOGOUTREASON |
get(int code)
|
int |
getId()
|
static Account.LOGOUTREASON |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Account.LOGOUTREASON[] |
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.LOGOUTREASON LOGOUT_CALLED
public static final Account.LOGOUTREASON HTTPS_PROXY_AUTH_FAILED
public static final Account.LOGOUTREASON SOCKS_PROXY_AUTH_FAILED
public static final Account.LOGOUTREASON P2P_CONNECT_FAILED
public static final Account.LOGOUTREASON SERVER_CONNECT_FAILED
public static final Account.LOGOUTREASON SERVER_OVERLOADED
public static final Account.LOGOUTREASON DB_IN_USE
public static final Account.LOGOUTREASON INVALID_SKYPENAME
public static final Account.LOGOUTREASON INVALID_EMAIL
public static final Account.LOGOUTREASON UNACCEPTABLE_PASSWORD
public static final Account.LOGOUTREASON SKYPENAME_TAKEN
public static final Account.LOGOUTREASON REJECTED_AS_UNDERAGE
public static final Account.LOGOUTREASON NO_SUCH_IDENTITY
public static final Account.LOGOUTREASON INCORRECT_PASSWORD
public static final Account.LOGOUTREASON TOO_MANY_LOGIN_ATTEMPTS
public static final Account.LOGOUTREASON PASSWORD_HAS_CHANGED
public static final Account.LOGOUTREASON PERIODIC_UIC_UPDATE_FAILED
public static final Account.LOGOUTREASON DB_DISK_FULL
public static final Account.LOGOUTREASON DB_IO_ERROR
public static final Account.LOGOUTREASON DB_CORRUPT
public static final Account.LOGOUTREASON DB_FAILURE
public static final Account.LOGOUTREASON INVALID_APP_ID
public static final Account.LOGOUTREASON APP_ID_FAILURE
public static final Account.LOGOUTREASON UNSUPPORTED_VERSION
| Method Detail |
|---|
public static Account.LOGOUTREASON[] values()
for (Account.LOGOUTREASON c : Account.LOGOUTREASON.values()) System.out.println(c);
public static Account.LOGOUTREASON 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()
public static Account.LOGOUTREASON get(int code)
public static Account.LOGOUTREASON fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||