public enum UserSource extends Enum<UserSource>
| Enum Constant and Description |
|---|
CARD
名片分享
|
MENU
图文页右上角菜单
|
OTHER
其他: 包括带参数二维码
|
SCAN
扫二维码
|
SEARCH_ACCOUNT
查询微信公众帐号
|
SEARCH_NUMBER
代表搜号码(即微信添加朋友页的搜索)
|
| Modifier and Type | Method and Description |
|---|---|
static UserSource |
from(Integer s) |
Integer |
value() |
static UserSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserSource OTHER
public static final UserSource SCAN
public static final UserSource CARD
public static final UserSource SEARCH_NUMBER
public static final UserSource SEARCH_ACCOUNT
public static final UserSource MENU
public static UserSource[] values()
for (UserSource c : UserSource.values()) System.out.println(c);
public static UserSource 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 Integer value()
public static UserSource from(Integer s)
Copyright © 2019. All rights reserved.