public static enum LCUser.SNS_PLATFORM extends Enum<LCUser.SNS_PLATFORM>
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static LCUser.SNS_PLATFORM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LCUser.SNS_PLATFORM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCUser.SNS_PLATFORM FACEBOOK
public static final LCUser.SNS_PLATFORM TWITTER
public static final LCUser.SNS_PLATFORM QQ
public static final LCUser.SNS_PLATFORM WEIBO
public static final LCUser.SNS_PLATFORM WECHAT
public static LCUser.SNS_PLATFORM[] values()
for (LCUser.SNS_PLATFORM c : LCUser.SNS_PLATFORM.values()) System.out.println(c);
public static LCUser.SNS_PLATFORM 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 String getName()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.