public enum ArticleShareScene extends Enum<ArticleShareScene>
| Enum Constant and Description |
|---|
FRIEND
好友转发
|
TIMELINE
朋友圈
|
UNKNOWN
未知
|
WEIBO
腾讯微博
|
| Modifier and Type | Method and Description |
|---|---|
static ArticleShareScene |
from(Integer s) |
Integer |
value() |
static ArticleShareScene |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArticleShareScene[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArticleShareScene UNKNOWN
public static final ArticleShareScene FRIEND
public static final ArticleShareScene TIMELINE
public static final ArticleShareScene WEIBO
public static ArticleShareScene[] values()
for (ArticleShareScene c : ArticleShareScene.values()) System.out.println(c);
public static ArticleShareScene 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 ArticleShareScene from(Integer s)
Copyright © 2019. All rights reserved.