public static enum GoogleContactsConnection.ConnectionStatus extends java.lang.Enum<GoogleContactsConnection.ConnectionStatus>
Enum Constant and Description |
---|
ERROR_INVALID_CREDENTIALS
Connection has failed due to invalid credentials.
|
ERROR_UNKNOWN
Connection has failed due to unknown reason.
|
SUCCESS
Connection has succeed.
|
Modifier and Type | Method and Description |
---|---|
static GoogleContactsConnection.ConnectionStatus |
valueOf(java.lang.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.
|
public static final GoogleContactsConnection.ConnectionStatus ERROR_INVALID_CREDENTIALS
public static final GoogleContactsConnection.ConnectionStatus ERROR_UNKNOWN
public static final GoogleContactsConnection.ConnectionStatus SUCCESS
public static GoogleContactsConnection.ConnectionStatus[] values()
for (GoogleContactsConnection.ConnectionStatus c : GoogleContactsConnection.ConnectionStatus.values()) System.out.println(c);
public static GoogleContactsConnection.ConnectionStatus 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 namejava.lang.NullPointerException
- if the argument is null
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.