public enum AuthWeiboScope extends Enum<AuthWeiboScope> implements AuthScope
Enum Constant and Description |
---|
ALL
scope 含义,以description 为准 |
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 AuthWeiboScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthWeiboScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthWeiboScope ALL
scope
含义,以description
为准public static final AuthWeiboScope EMAIL
public static final AuthWeiboScope DIRECT_MESSAGES_WRITE
public static final AuthWeiboScope DIRECT_MESSAGES_READ
public static final AuthWeiboScope INVITATION_WRITE
public static final AuthWeiboScope FRIENDSHIPS_GROUPS_READ
public static final AuthWeiboScope FRIENDSHIPS_GROUPS_WRITE
public static final AuthWeiboScope STATUSES_TO_ME_READ
public static final AuthWeiboScope FOLLOW_APP_OFFICIAL_MICROBLOG
public static AuthWeiboScope[] values()
for (AuthWeiboScope c : AuthWeiboScope.values()) System.out.println(c);
public static AuthWeiboScope 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 © 2021. All rights reserved.