public enum FileAction extends java.lang.Enum<FileAction>
Enum Constant and Description |
---|
CREATE_EDIT_LINK
Create a shared link to a file that allows users to edit the content.
|
CREATE_LINK
Use create_view_link and create_edit_link instead.
|
CREATE_VIEW_LINK
Create a shared link to a file that only allows users to view the
content.
|
DISABLE_VIEWER_INFO
Disable viewer information on the file.
|
EDIT_CONTENTS
Change or edit contents of the file.
|
ENABLE_VIEWER_INFO
Enable viewer information on the file.
|
INVITE_EDITOR
Add a member with edit permissions.
|
INVITE_VIEWER
Add a member with view permissions.
|
INVITE_VIEWER_NO_COMMENT
Add a member with view permissions but no comment permissions.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
RELINQUISH_MEMBERSHIP
Relinquish one's own membership to the file.
|
SHARE_LINK
Use create_view_link and create_edit_link instead.
|
UNSHARE
Stop sharing this file.
|
Modifier and Type | Method and Description |
---|---|
static FileAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileAction DISABLE_VIEWER_INFO
public static final FileAction EDIT_CONTENTS
public static final FileAction ENABLE_VIEWER_INFO
public static final FileAction INVITE_VIEWER
public static final FileAction INVITE_VIEWER_NO_COMMENT
public static final FileAction INVITE_EDITOR
public static final FileAction UNSHARE
public static final FileAction RELINQUISH_MEMBERSHIP
public static final FileAction SHARE_LINK
public static final FileAction CREATE_LINK
public static final FileAction CREATE_VIEW_LINK
public static final FileAction CREATE_EDIT_LINK
public static final FileAction 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 FileAction[] values()
for (FileAction c : FileAction.values()) System.out.println(c);
public static FileAction 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