|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Contact.TYPE>
com.skype.api.Contact.TYPE
public static enum Contact.TYPE
Same as with CAPABILITY, enumerator is used by both Contact and Account objects.
| Enum Constant Summary | |
|---|---|
EMERGENCY_PSTN
Emergency number (i.e. |
|
EXTERNAL
This type is currently used by Windows desktop clients for contacts imported from Outlook. |
|
FREE_PSTN
|
|
PSTN
Normal PSTN contact. |
|
SKYPE
Normal Skype contact. |
|
UNDISCLOSED_PSTN
Undisclosed PSTN number. |
|
UNRECOGNIZED
Contact/account has no pre-identified type. |
|
| Method Summary | |
|---|---|
static Contact.TYPE |
fromString(java.lang.String s)
|
static Contact.TYPE |
get(int code)
|
int |
getId()
|
static Contact.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Contact.TYPE[] |
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 Contact.TYPE UNRECOGNIZED
public static final Contact.TYPE SKYPE
public static final Contact.TYPE PSTN
public static final Contact.TYPE EMERGENCY_PSTN
public static final Contact.TYPE FREE_PSTN
public static final Contact.TYPE UNDISCLOSED_PSTN
public static final Contact.TYPE EXTERNAL
| Method Detail |
|---|
public static Contact.TYPE[] values()
for (Contact.TYPE c : Contact.TYPE.values()) System.out.println(c);
public static Contact.TYPE 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 Contact.TYPE get(int code)
public static Contact.TYPE fromString(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||