# DatabaseOpenStatus

public enum DatabaseOpenStatus

数据库打开枚举

## Entries

DATABASE_OPEN_SUCCESS
Link copied to clipboard
DATABASE_OPEN_SUCCESS

数据库打开成功

DATABASE_OPEN_ERROR
Link copied to clipboard
DATABASE_OPEN_ERROR

数据库打开失败

## Functions

getValue
Link copied to clipboard
public int getValue()
获取数据库打开状态值。
valueOf
Link copied to clipboard
public static RongIMClient.DatabaseOpenStatus valueOf(int code)
获取数据库打开状态值。
public 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.)

values
Link copied to clipboard
public 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.