public enum YWTribeCheckMode extends Enum<YWTribeCheckMode>
| Enum Constant and Description |
|---|
ID_VERIFICATION
需要身份验证
|
NO_VERIFICATION
允许任何人加入
|
NOBODY_JOIN
不允许任何人主动加入群
|
PWD_VERIFICATION
需要密码验证
|
| Modifier and Type | Field and Description |
|---|---|
String |
description
群验证模式的描述
|
int |
type
群验证模式的类型
|
| Modifier and Type | Method and Description |
|---|---|
static YWTribeCheckMode |
getEnumType(int type)
根据群验证模式的类型获取对应的YWTribeCheckMode 对象
|
static YWTribeCheckMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YWTribeCheckMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YWTribeCheckMode NO_VERIFICATION
public static final YWTribeCheckMode PWD_VERIFICATION
public static final YWTribeCheckMode ID_VERIFICATION
public static final YWTribeCheckMode NOBODY_JOIN
public String description
public int type
public static YWTribeCheckMode[] values()
for (YWTribeCheckMode c : YWTribeCheckMode.values()) System.out.println(c);
public static YWTribeCheckMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static YWTribeCheckMode getEnumType(int type)
type - 群验证模式的类型