|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 |
java.lang.Objectjava.lang.Enum<AccountType>
com.baidu.sapi2.account.AccountType
public enum AccountType
Account Type ENUM.
枚举常量摘要 | |
---|---|
DEFAULT
默认所有帐号 |
|
DEVICE
设备号登录 |
|
DYNAMICPWD
动态密码登录 |
|
FASTREG
一键注册登录 |
|
NORMAL
用户名邮箱登陆 |
|
PHONE
手机号码登陆 |
|
QR
二维码登录 |
|
SOCIAL
社交化帐号登录 |
方法摘要 | |
---|---|
static AccountType |
getAccountType(int typeID)
Get AccountType throw typeID. |
int |
getTypeID()
Get typeID. |
static AccountType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static AccountType[] |
values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
从类 java.lang.Enum 继承的方法 |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
从类 java.lang.Object 继承的方法 |
---|
getClass, notify, notifyAll, wait, wait, wait |
枚举常量详细信息 |
---|
public static final AccountType DEFAULT
public static final AccountType NORMAL
public static final AccountType PHONE
public static final AccountType SOCIAL
public static final AccountType QR
public static final AccountType DEVICE
public static final AccountType FASTREG
public static final AccountType DYNAMICPWD
方法详细信息 |
---|
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType valueOf(String name)
name
- 要返回的枚举常量的名称。
如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentExceptionpublic int getTypeID()
public static AccountType getAccountType(int typeID)
typeID
-
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 |