Package com.dropbox.core.v2.sharing
Enum Class FileAction
- All Implemented Interfaces:
Serializable,Comparable<FileAction>,Constable
Sharing actions that may be taken on files.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate a shared link to a file that allows users to edit the content.Field is deprecated.Create a shared link to a file that only allows users to view the content.Disable viewer information on the file.Change or edit contents of the file.Enable viewer information on the file.Add a member with edit permissions.Add a member with view permissions.Add a member with view permissions but no comment permissions.Catch-all used for unknown tag values returned by the Dropbox servers.Relinquish one's own membership to the file.Field is deprecated.Stop sharing this file. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileActionReturns the enum constant of this class with the specified name.static FileAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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_VIEWER
Add a member with view permissions. -
INVITE_VIEWER_NO_COMMENT
Add a member with view permissions but no comment permissions. -
INVITE_EDITOR
Add a member with edit permissions. -
UNSHARE
Stop sharing this file. -
RELINQUISH_MEMBERSHIP
Relinquish one's own membership to the file. -
SHARE_LINK
Field is deprecated. Use create_view_link and create_edit_link instead. -
CREATE_LINK
Field is deprecated. 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. -
CREATE_EDIT_LINK
Create a shared link to a file that allows users to edit the content. -
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-