public static enum User.ConnectionStatus extends java.lang.Enum<User.ConnectionStatus>
Enum Constant and Description |
---|
NON_AVAILABLE |
OFFLINE |
ONLINE |
Modifier and Type | Method and Description |
---|---|
static User.ConnectionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static User.ConnectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.ConnectionStatus NON_AVAILABLE
public static final User.ConnectionStatus ONLINE
public static final User.ConnectionStatus OFFLINE
public static User.ConnectionStatus[] values()
for (User.ConnectionStatus c : User.ConnectionStatus.values()) System.out.println(c);
public static User.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 Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.