|
|||||||||
| 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. |
|
| Field Summary | |
|---|---|
static int |
EMERGENCY_PSTN_VALUE
|
static int |
EXTERNAL_VALUE
|
static int |
FREE_PSTN_VALUE
|
static int |
PSTN_VALUE
|
static int |
SKYPE_VALUE
|
static int |
UNDISCLOSED_PSTN_VALUE
|
static int |
UNRECOGNIZED_VALUE
|
| Method Summary | |
|---|---|
EnumConverting |
convert(int from)
|
static Contact.Type |
get(int from)
|
EnumConverting[] |
getArray(int size)
|
EnumConverting |
getDefault()
|
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
| Field Detail |
|---|
public static final int UNRECOGNIZED_VALUE
public static final int SKYPE_VALUE
public static final int PSTN_VALUE
public static final int EMERGENCY_PSTN_VALUE
public static final int FREE_PSTN_VALUE
public static final int UNDISCLOSED_PSTN_VALUE
public static final int EXTERNAL_VALUE
| 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()
getId in interface EnumConvertingpublic EnumConverting getDefault()
getDefault in interface EnumConvertingpublic EnumConverting convert(int from)
convert in interface EnumConvertingpublic EnumConverting[] getArray(int size)
getArray in interface EnumConvertingpublic static Contact.Type get(int from)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||