|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GoogleContactsConnection.ConnectionStatus>
net.java.sip.communicator.service.googlecontacts.GoogleContactsConnection.ConnectionStatus
public static enum GoogleContactsConnection.ConnectionStatus
Enumeration for connection status.
| Enum Constant Summary | |
|---|---|
ERROR_INVALID_CREDENTIALS
Connection has failed due to invalid credentials. |
|
ERROR_UNKNOWN
Connection has failed due to unknown reason. |
|
SUCCESS
Connection has succeed. |
|
| Method Summary | |
|---|---|
static GoogleContactsConnection.ConnectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GoogleContactsConnection.ConnectionStatus[] |
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 GoogleContactsConnection.ConnectionStatus ERROR_INVALID_CREDENTIALS
public static final GoogleContactsConnection.ConnectionStatus ERROR_UNKNOWN
public static final GoogleContactsConnection.ConnectionStatus SUCCESS
| Method Detail |
|---|
public static GoogleContactsConnection.ConnectionStatus[] values()
for (GoogleContactsConnection.ConnectionStatus c : GoogleContactsConnection.ConnectionStatus.values()) System.out.println(c);
public static GoogleContactsConnection.ConnectionStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||