public enum FolderAction extends Enum<FolderAction>
Enum Constant and Description |
---|
CHANGE_OPTIONS
Change folder options, such as who can be invited to join the folder.
|
CREATE_LINK
Create a shared link for folder.
|
EDIT_CONTENTS
Change or edit contents of the folder.
|
INVITE_EDITOR
Invite a user or group to join the folder with read and write permission.
|
INVITE_VIEWER
Invite a user or group to join the folder with read permission.
|
INVITE_VIEWER_NO_COMMENT
Invite a user or group to join the folder with read permission but no
comment permissions.
|
LEAVE_A_COPY
Keep a copy of the contents upon leaving or being kicked from the folder.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
RELINQUISH_MEMBERSHIP
Relinquish one's own membership in the folder.
|
SHARE_LINK
This action is deprecated.
|
UNMOUNT
Unmount the folder.
|
UNSHARE
Stop sharing this folder.
|
Modifier and Type | Method and Description |
---|---|
static FolderAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FolderAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FolderAction CHANGE_OPTIONS
public static final FolderAction EDIT_CONTENTS
public static final FolderAction INVITE_EDITOR
public static final FolderAction INVITE_VIEWER
public static final FolderAction INVITE_VIEWER_NO_COMMENT
public static final FolderAction RELINQUISH_MEMBERSHIP
public static final FolderAction UNMOUNT
public static final FolderAction UNSHARE
public static final FolderAction LEAVE_A_COPY
public static final FolderAction SHARE_LINK
public static final FolderAction CREATE_LINK
public static final FolderAction 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 FolderAction[] values()
for (FolderAction c : FolderAction.values()) System.out.println(c);
public static FolderAction 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