Package io.rong.imlib
Enum RongIMClient.DatabaseOpenStatus
-
- All Implemented Interfaces:
public enum RongIMClient.DatabaseOpenStatus
Database Open Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATABASE_OPEN_SUCCESS
Database opened successfully
DATABASE_OPEN_ERROR
*Database open failed**
-
Method Summary
Modifier and Type Method Description static RongIMClient.DatabaseOpenStatus
valueOf(int code)
Retrieves the database open status value. int
getValue()
Retrieves the database open status value. static Array<RongIMClient.DatabaseOpenStatus>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RongIMClient.DatabaseOpenStatus
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
valueOf
static RongIMClient.DatabaseOpenStatus valueOf(int code)
Retrieves the database open status value.
- Parameters:
code
- The database status int value.- Returns:
The database open status value.
-
getValue
int getValue()
Retrieves the database open status value.
- Returns:
Indicates the database open status value.
-
values
static Array<RongIMClient.DatabaseOpenStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RongIMClient.DatabaseOpenStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-