public static enum ShareFolderError.Tag extends Enum<ShareFolderError.Tag>
ShareFolderError
.Enum Constant and Description |
---|
BAD_PATH
ShareFolderArg.getPath() is invalid. |
DISALLOWED_SHARED_LINK_POLICY
The current user's account is not allowed to select the specified
ShareFolderArg.getSharedLinkPolicy() . |
EMAIL_UNVERIFIED
The current user's e-mail address is unverified.
|
NO_PERMISSION
The current user does not have permission to perform this action.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
TEAM_POLICY_DISALLOWS_MEMBER_POLICY
Team policy is more restrictive than
ShareFolderArg.getMemberPolicy() . |
Modifier and Type | Method and Description |
---|---|
static ShareFolderError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareFolderError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareFolderError.Tag EMAIL_UNVERIFIED
public static final ShareFolderError.Tag BAD_PATH
ShareFolderArg.getPath()
is invalid.public static final ShareFolderError.Tag TEAM_POLICY_DISALLOWS_MEMBER_POLICY
ShareFolderArg.getMemberPolicy()
.public static final ShareFolderError.Tag DISALLOWED_SHARED_LINK_POLICY
ShareFolderArg.getSharedLinkPolicy()
.public static final ShareFolderError.Tag OTHER
Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
public static final ShareFolderError.Tag NO_PERMISSION
public static ShareFolderError.Tag[] values()
for (ShareFolderError.Tag c : ShareFolderError.Tag.values()) System.out.println(c);
public static ShareFolderError.Tag 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 null