public static enum WeiboClient.WeiboScope extends Enum<WeiboClient.WeiboScope>
More info at: Scope
Enum Constant and Description |
---|
ALL |
DIRECT_MESSAGES_READ |
DIRECT_MESSAGES_WRITE |
EMAIL |
FOLLOW_APP_OFFICIAL_MICROBLOG |
FRIENDSHIPS_GROUPS_READ |
FRIENDSHIPS_GROUPS_WRITE |
INVITATION_WRITE |
STATUSES_TO_ME_READ |
Modifier and Type | Method and Description |
---|---|
static WeiboClient.WeiboScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeiboClient.WeiboScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeiboClient.WeiboScope ALL
public static final WeiboClient.WeiboScope EMAIL
public static final WeiboClient.WeiboScope DIRECT_MESSAGES_WRITE
public static final WeiboClient.WeiboScope DIRECT_MESSAGES_READ
public static final WeiboClient.WeiboScope INVITATION_WRITE
public static final WeiboClient.WeiboScope FRIENDSHIPS_GROUPS_READ
public static final WeiboClient.WeiboScope FRIENDSHIPS_GROUPS_WRITE
public static final WeiboClient.WeiboScope STATUSES_TO_ME_READ
public static final WeiboClient.WeiboScope FOLLOW_APP_OFFICIAL_MICROBLOG
public static WeiboClient.WeiboScope[] values()
for (WeiboClient.WeiboScope c : WeiboClient.WeiboScope.values()) System.out.println(c);
public static WeiboClient.WeiboScope 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 nullCopyright © 2019. All rights reserved.