|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Skype.VALIDATERESULT>
com.skype.api.Skype.VALIDATERESULT
public static enum Skype.VALIDATERESULT
A value of this type can be returned by one of the following methods (of Skype class): ValidateAvatar, ValidateProfileString, ValidatePassword.
| Enum Constant Summary | |
|---|---|
CONTAINS_INVALID_CHAR
Value contains illegal characters. |
|
CONTAINS_INVALID_WORD
Value contains invalid word. |
|
CONTAINS_SPACE
Value contains whitespace. |
|
INVALID_FORMAT
Value has invalid format. |
|
NOT_VALIDATED
Given property could not be validated. |
|
SAME_AS_USERNAME
Password cannot be the same as skypename. |
|
STARTS_WITH_INVALID_CHAR
Value starts with an invalid character. |
|
TOO_LONG
The value exceeds max size limit for the given property. |
|
TOO_SHORT
Password is too short. |
|
TOO_SIMPLE
Password is too simple. |
|
VALIDATED_OK
Avatar or profile string validation succeeded. |
|
| Method Summary | |
|---|---|
static Skype.VALIDATERESULT |
fromString(java.lang.String s)
|
static Skype.VALIDATERESULT |
get(int code)
|
int |
getId()
|
static Skype.VALIDATERESULT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Skype.VALIDATERESULT[] |
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 Skype.VALIDATERESULT NOT_VALIDATED
public static final Skype.VALIDATERESULT VALIDATED_OK
public static final Skype.VALIDATERESULT TOO_SHORT
public static final Skype.VALIDATERESULT TOO_LONG
public static final Skype.VALIDATERESULT CONTAINS_INVALID_CHAR
public static final Skype.VALIDATERESULT CONTAINS_SPACE
public static final Skype.VALIDATERESULT SAME_AS_USERNAME
public static final Skype.VALIDATERESULT INVALID_FORMAT
public static final Skype.VALIDATERESULT CONTAINS_INVALID_WORD
public static final Skype.VALIDATERESULT TOO_SIMPLE
public static final Skype.VALIDATERESULT STARTS_WITH_INVALID_CHAR
| Method Detail |
|---|
public static Skype.VALIDATERESULT[] values()
for (Skype.VALIDATERESULT c : Skype.VALIDATERESULT.values()) System.out.println(c);
public static Skype.VALIDATERESULT 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 Skype.VALIDATERESULT get(int code)
public static Skype.VALIDATERESULT fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||