public enum ResolvedVisibility extends Enum<ResolvedVisibility>
RequestedVisibility
for more info on the possible visibility values
that can be set by the shared link's owner.Enum Constant and Description |
---|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
PASSWORD
A link-specific password is required to access the link.
|
PUBLIC
Anyone who has received the link can access it.
|
SHARED_FOLDER_ONLY
Only members of the shared folder containing the linked file can access
the link.
|
TEAM_AND_PASSWORD
Only members of the same team who have the link-specific password can
access the link.
|
TEAM_ONLY
Only members of the same team can access the link.
|
Modifier and Type | Method and Description |
---|---|
static ResolvedVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolvedVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolvedVisibility PUBLIC
public static final ResolvedVisibility TEAM_ONLY
public static final ResolvedVisibility PASSWORD
public static final ResolvedVisibility TEAM_AND_PASSWORD
public static final ResolvedVisibility SHARED_FOLDER_ONLY
public static final ResolvedVisibility 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 ResolvedVisibility[] values()
for (ResolvedVisibility c : ResolvedVisibility.values()) System.out.println(c);
public static ResolvedVisibility 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