public enum SharedLinkAccessFailureReason extends java.lang.Enum<SharedLinkAccessFailureReason>
Enum Constant and Description |
---|
EMAIL_VERIFY_REQUIRED
User's email is not verified.
|
LOGIN_REQUIRED
User is not logged in.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
OWNER_ONLY
Access is allowed for the shared link's owner only.
|
PASSWORD_REQUIRED
The link is password protected.
|
TEAM_ONLY
Access is allowed for team members only.
|
Modifier and Type | Method and Description |
---|---|
static SharedLinkAccessFailureReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SharedLinkAccessFailureReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedLinkAccessFailureReason LOGIN_REQUIRED
public static final SharedLinkAccessFailureReason EMAIL_VERIFY_REQUIRED
public static final SharedLinkAccessFailureReason PASSWORD_REQUIRED
public static final SharedLinkAccessFailureReason TEAM_ONLY
public static final SharedLinkAccessFailureReason OWNER_ONLY
public static final SharedLinkAccessFailureReason 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 SharedLinkAccessFailureReason[] values()
for (SharedLinkAccessFailureReason c : SharedLinkAccessFailureReason.values()) System.out.println(c);
public static SharedLinkAccessFailureReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null