public enum AccessLevel extends Enum<AccessLevel>
Enum Constant and Description |
---|
EDITOR
The collaborator can both view and edit the shared folder.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
OWNER
The collaborator is the owner of the shared folder.
|
VIEWER
The collaborator can only view the shared folder.
|
VIEWER_NO_COMMENT
The collaborator can only view the shared folder and does not have any
access to comments.
|
Modifier and Type | Method and Description |
---|---|
static AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel OWNER
DbxUserSharingRequests.updateFolderPolicy(String)
.public static final AccessLevel EDITOR
public static final AccessLevel VIEWER
public static final AccessLevel VIEWER_NO_COMMENT
public static final AccessLevel 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 AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel 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